ESPAsyncWiFiManager
ESPAsyncWiFiManager copied to clipboard
Implement non-blocking mode
WifiManager in development branch have setConfigPortalBlocking function. It is handy to have some code running in background or utilize same webserver instance for actual web serving purposes for wifi clients.
I also would like know about this!
yes, please!
I'm Very interested in an non-blocking version to enable the ESP to get on with other things. Current implementation blocks in setup():
// Auto connect and goes into a blocking loop awaiting configuration if (!wifiManager.autoConnect("Access Point")) { Serial.println("failed to connect and hit timeout"); //reset and try again, or maybe put it to deep sleep ESP.restart(); delay(1000); }
I understand tzapu/WiFiManager has a implemented a wm.setConfigPortalBlocking(false) method used in setup, needing a wm.process(); call in the loop(). see here https://github.com/tzapu/WiFiManager/blob/master/examples/NonBlocking/AutoConnectNonBlocking/AutoConnectNonBlocking.ino.
Does anyone know of a fork / fix / variant that has non-blocking for ESP32? Thanks!!