This repository was archived by the owner on Sep 16, 2024. It is now read-only.
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
[WIFI] Wifi libs return incorrect status for is_connected() when in AP mode. #244
Open
Description
Expected Behaviour:
wlan.is_connected() to return true when a client is connected to the access point.
Actual behaviour:
wlan.is_connected() always returns false when a client is connected.
Looks like the ESP8266 implementation may have code we can reuse.
ESP32:
pycom-micropython-sigfox/esp32/mods/modwlan.c
Line 914 in d1c5ea9
ESP8266:
pycom-micropython-sigfox/esp8266/modnetwork.c
Line 204 in 4481a1c
Thanks to mfalkvidd on the forums. https://forum.pycom.io/topic/4174/wlan-isconnected-in-ap-mode-still-not-working/4