WLAN connection of PicoW sometimes working, sometimes not #12941
Replies: 2 comments 8 replies
-
Does this happen after you have left the WiFi idle for a very long (hours) time? I had a random would-not-reconnect issue with my Pico-W, until I added a ping to it every so often (I'm using 5 seconds, probably could be once an hour and still be fine). Then the network worked forever (has been on for weeks). The symptom would be that it would permanently show ifconfig as all 0.0.0.0, but claim connectivity. |
Beta Was this translation helpful? Give feedback.
-
Please explain the context in which this cod runs. Is it on power up, or is the code reconnecting? If reconnecting, how was the disconnect detected and what did the code do in response? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am going mad with this connectivity problem. It is not reproducable.
My code is here:
Most often it works and the output is like this:
MAC Address: b'(\xcd\xc1\x00\x08\x1f' Connected PicoW IP: ('192.168.0.114', '255.255.255.0', '192.168.0.100', '192.168.0.100')
But sometimes the program hangs in the while loop without connecting.
Beta Was this translation helpful? Give feedback.
All reactions