You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the library in my project. An implementation with wm.setConfigPortalBlocking(false) is needed, but when a large delay is used in the loop, the portal either does not work at all, or it freezes very much and the web interface does not load. What can be done?
The wm.process needs to run continuously. It can't just run once and then "not run" for 60000 ms. A hint is how often you get the heartbeat "." printed to your serial monitor.
You need to set up a non-blocking timer in loop() using a while or an if statement, and/or process a callback from wifi manager when the captive portal returns a result. See the example sketches in this repository.
I'm trying to use the library in my project. An implementation with wm.setConfigPortalBlocking(false) is needed, but when a large delay is used in the loop, the portal either does not work at all, or it freezes very much and the web interface does not load. What can be done?
For example:
The text was updated successfully, but these errors were encountered: