-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix PicoW Infinite Reboot due to WiFi Failure #514
Conversation
@tyeth ready for review |
FYI:
Those PRs only affect FreeRTOS sketches, and this project doesn't seem to use FreeRTOS so they shouldn't affect things here. If there are WiFi issues on bare metal, don't hesitate to open up something on the Arduino-Pico repo, of course! You'll also need to undo the change to the doxygen |
Interestingly, I noticed the WiFi connection stability increase when building from arduino-pico |
No difference between building off arduino-pico release, this PR fixes the timing/timeouts. Thanks for the clarification @earlephilhower. |
This pull request aims to fix the PicoW infinite reboot bug due to WiFi failure. This issue seems to mostly be occurring on routers that are mesh networks or far away from a Rasberry Pi Pico W.
The result is in an inoperable WipperSnapper device as the WiFi never connects and the WDT is kicked, forcing the device to reboot forever:
This pull request:
ws_networking_pico.h
, this PR now sets a 20-second timeout for connecting to an AP, rather than the default, and waits a full 20 seconds to establish a connection.runNetFSM()
to avoid accidentally timing out the WDT.Resolves:
#436
#435
#432