wlan.isconnected() in AP mode - still not working
-
I am experiencing the same problem as was posted before:
wlan.isconnected() in AP mode (2 years ago)
wlan.isconnected() always False in AP mode. (7 months ago)
wlan.isconnected() not working in AP mode (21 days ago)Here is what I am doing with my W01 module (connected to REPL via serial) after power on:
>>> # WLAN was disabled by wlan.deinit() before >>> >>> >>> from network import WLAN >>> wlan=WLAN(mode=WLAN.AP, ssid='mywlan') >>> # 'mywlan' appears on the list of available networks of the PC >>> wlan.isconnected() False >>> # this is correct since not connected yet >>> # now I connect with PC to 'mywlan' >>> wlan.isconnected() False >>> # this is INCORRECT since PC is connected to 'mywlan' >>> >>> >>> import uos >>> uos.uname() (sysname='WiPy', nodename='WiPy', release='1.18.0.r1', version='v1.8.6-849-9569a73 on 2018-07-20', machine='WiPy with ESP32', pybytes='0.9.0') >>>What could be wrong with this?
Any other way to detect connected devices?
@dan: there is no further code in my case
@Paul Thorton: the PC is indeed connected, it is possible to operate via FileZilla or PuTTYThank you in advance for help!
Happy New Year! -
Not sure if I'm looking at the right code, but it looks like the implementation for esp32 lacks code for AP mode. Compare with esp8266 implementation.
-
Looks like @mfalkvidd may be correct. Ill raise issue this in the next standup
-
@mfalkvidd, @Paul-Thornton
thank you for taking care of this!
I am looking forward to a solution as soon as possible. Not only my project strongly depends on this function as it is a rather basic functionality. At least, I could not find any alternative way of detecting connected devices in AP mode.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login