-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Description
When trying to connect to a wifi-network which is not reachable the board crashes with the error message assertion "*q < pool->len" failed: file "../../py/qstr.c", line 198, function: find_qstr and becomes unresponsive. To regain access the board needs to be reset and sometimes unplugged and repowered. For debugging a message with the reason and status would be helpful. Sometimes the error occurs during the first run of the script even if a connection should be possible but does not return after resetting the board. Since the error occurs in the wlan.connect('<ssid>','<key>') call a potential try-catch would not automatically reconnect or retry to connect. As a countermeasure to include in your documentation the connect call should be placed in a for or while loop.
Code Size
No response
Implementation
I hope the MicroPython maintainers or community will implement this feature
Code of Conduct
Yes, I agree