wlan.isconnected() not working in AP mode



  • Re: wlan.isconnected() always False in AP mode.

    Still not working:

    Pycom MicroPython 1.18.1.r1 [v1.8.6-849-b0520f1] on 2018-08-29; LoPy4 with ESP32
    Type "help()" for more information.
    >>> from network import WLAN
    >>> wlan = WLAN()
    >>> import config
    >>> wlan.init(mode=WLAN.AP, ssid=config.AP_SSID, auth=(WLAN.WPA2, config.AP_PASSWORD), channel=config.AP_CHANNEL, antenna=WLAN.INT_ANT)
    >>> wlan.isconnected()
    False
    >>> wlan.isconnected()
    False
    >>> wlan.isconnected()
    False
    >>> os.uname()
    (sysname='LoPy4', nodename='LoPy4', release='1.18.1.r1', version='v1.8.6-849-b0520f1 on 2018-08-29', machine='LoPy4 with ESP32', lorawan='1.0.2', sigfox='1.0.1')```


  • Do the connected clients also return false or is it just the node setup as an AP


Log in to reply
 

Pycom on Twitter