Hi!
@ogabrielinacio, I think we should warn the developers that this package doesn't support the wifi retries and what it involves to them:
Disabling the wifi retries in the ESP32 firmware if they have the possibility.
Warning the user about it and maybe recommend them to disable the button until a fair amount of time that the retries could end or even just recommend to implement a workaround
The possible workaround may be something like:
User tries to connect.
Wrong password, so the application receives the authentication error.
ESP32 is retrying the connection.
Application disable the button while it is trying to disconnect from the ESP32 and then connect to it again.
Finally, when already connected, the user can click the button and try to connect the ESP32 to the selected WiFi network
If I am not wrong, the application wouldn't need to scan again nor something else, because the application also has the SSID and password of that network so, the application just need to send the WiFi configuration.
So we could write a bit about it in the documentation to make the developers what can be necessary in case of retries are enabled in the firmware or not. It would be interesting to suggest possible workarounds like the above one or the one you indicated in this comment that it is very well documented and explained ❤️ .
Hi! @ogabrielinacio, I think we should warn the developers that this package doesn't support the wifi retries and what it involves to them:
The possible workaround may be something like:
If I am not wrong, the application wouldn't need to scan again nor something else, because the application also has the SSID and password of that network so, the application just need to send the WiFi configuration.
So we could write a bit about it in the documentation to make the developers what can be necessary in case of retries are enabled in the firmware or not. It would be interesting to suggest possible workarounds like the above one or the one you indicated in this comment that it is very well documented and explained ❤️ .
This issue is related with the below comment: