sleep(1) to avoid persistent reconnect failures on esp32
Hello Peter, I have the same problem as described in #132. My esp doesn't reconnect after my wifi router is temporary down. (I use [this one](https://de.aliexpress.com/item/1005001838731651.html) ("Color": ESP-32 38PIN))
I debugged it: After each s.connect(...) the call to s.status() constantly reports 202 (STAT_WRONG_PASSWORD)
However, when I interrupt and try to connect from the REPL, I can connect. So I added this sleep(1) to wait a little bit before the next connect. With this little nap, the esp succeeds to connect.
合并状态:未合并 关闭于 2024-09-29 2 条评论