gpy wlan connect problem after deepsleep
-
Even though I'm careful to wlan.disconnect() and wlan.deinit() prior to a 60s deepsleep my gpy won't reconnect with the new wlan=WLAN() I create on waking up, I have to do a machine.reset() instead. Have I run foul of some sort of wifi lease in the router I'm trying to connect to? Any thoughts on how to get a new connection after a deepsleep without a reset?
-
Further to this problem with wlan after a deepsleep. The gpy in question is using 1.20.1.r1 with littleFS. After I reflashed the same firmware with FAT, wlan connections are possible after a deepsleep. So something about littleFS prevents wlan connections after a deepsleep.
-
@kjm or it might be some leftover configuration or other file that caused and issue and got deleted when you changed the file system.
You may want to re-try with littleFS to confirm whether that is indeed the case.
-
@jcaron You're right! Put it back to littleFS & now I can get a wlan connection after a deepsleep. Troubles me, given that I do a full flash erase with pycom-fwtool-cli.exe -p COM3 erase_all everytime I change the file system. But there must have been something lurking in flash blocking wlan connections after a deepsleep.
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