AutoConnect
AutoConnect copied to clipboard
added option to continue setup procedure even if Wifi is Disconnect.
Do not know if this is the best way to do this, but I hope it gives you an idea what I want
This missing feature is kind of putting me on the fence between using autoconnect or just hard-coding the wifi info and using a less future-proof solution like autoconnect... however it doesn't seem like this method would allow it to eventually connect in the future when wifi comes back online but I haven't looked at the autoconnect code myself so perhaps it does.
@computergeek1507 Thank you for PR. We can assume various situations as the WiFi disconnection state of ESP8266, but it is not clear which one this PR assumes. It probably aims to prevent the ESP module from falling into a standalone state at the beginning of the sketch, but on the other hand, it is possible with the proper combination of autoRise and portalTimeout in AutoConnectConfig. What are the specific effects of your point of view?
I am using a esp32 board with a Ethernet adapter. I want the user to connect to the esp32 wifi AP and be able to configure the Ethernet settings thought a custom page and then disconnect from wifi and let the program run using the Ethernet connection. By added this parameter it allowed the setup method to "finish" and let the main loop code run using the Ethernet connection.