ogabrielinacio / esp_provisioning_ble

A Flutter plugin for provisioning ESP32 modules with Ble
MIT License
10 stars 3 forks source link

Warns about wifi connection retries in documentation #13

Open ivanhercaz opened 3 months ago

ivanhercaz commented 3 months ago

Hi! @ogabrielinacio, I think we should warn the developers that this package doesn't support the wifi retries and what it involves to them:

  1. Disabling the wifi retries in the ESP32 firmware if they have the possibility.
  2. 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:

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:

I believe I've resolved the issue! commit : https://github.com/ogabrielinacio/esp_provisioning_ble/commit/f48727a8d7d9fbf524b4a4faa5ade1b6407960f2 _Originally posted by @ogabrielinacio in https://github.com/ogabrielinacio/esp_provisioning_ble/issues/7#issuecomment-1950544815_