After reading (and attempting) https://hieromon.github.io/AutoConnect/adcpcontrol.html for days, I am still at loss to achieve the following:
1) AutoConnect to keep running captive portal if ESP32 is not WiFi-connected (this piece is good, and is a default behavior)
And
2) AutoConnect to keep running captive portal for first 5 min after ESP32 starts and WiFi-connected. That means ESP32 stays on SoftAP mode and user can still access the captive portal at 192.168.4.1 while ESP32 is already connected to a WiFi. I am looking to implement this behavior for first 5 min after ESP32 starts. This provides a time window (5min) if users wants to connect ESP32 to a different WiFi.
I do see options such as retain, timeout etc. but unfortunately I am not smart enough to use them correctly in my sketch. If someone can help me out with some sketch examples to achieve the above (especially "2"). Thank You
Hello
After reading (and attempting) https://hieromon.github.io/AutoConnect/adcpcontrol.html for days, I am still at loss to achieve the following: 1) AutoConnect to keep running captive portal if ESP32 is not WiFi-connected (this piece is good, and is a default behavior) And 2) AutoConnect to keep running captive portal for first 5 min after ESP32 starts and WiFi-connected. That means ESP32 stays on SoftAP mode and user can still access the captive portal at 192.168.4.1 while ESP32 is already connected to a WiFi. I am looking to implement this behavior for first 5 min after ESP32 starts. This provides a time window (5min) if users wants to connect ESP32 to a different WiFi.
I do see options such as retain, timeout etc. but unfortunately I am not smart enough to use them correctly in my sketch. If someone can help me out with some sketch examples to achieve the above (especially "2"). Thank You