Rainmaker WiFi provisioning: Add NVS counter of WiFi connect failures #77
martinberlin
announced in
Announcements
Replies: 1 comment
-
On hold till we upgrade this to IDF v5.0 and revise how Rainmaker works on that version |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
When using Rainmaker, if the user changes the router configuration credentials, without clearing credentials first in ESP rainmaker app then it enters in a restart loop. Because it cannot connect but also can’t clear the WiFi configuration in order to entern Blietppth provisioning mode.
Describe the solution you'd like
The solution would be to have a WiFi failed connect counter that is stored in Non Volatine Storage, that when reaches 100 failed connections, clears the WiFi configuration and restarts. The issue with this is, is that it might clear credentials in a moment where the user does not want, simply becau It’s normal that from time to time the connect to WiFi process fails.
Beta Was this translation helpful? Give feedback.
All reactions