Post topics, source code that relate to the Arduino Platform

User avatar
By Caleb1
#90400 Hi fellows!

Hoping this is the right place to post a question concerning WifiManager.

I searched the whole web and some pages more, but didn't find a clue on how to leave AP mode after the ESP has switched to AP mode when not finding the WLAN the credentials it already knows of (from a privious session in AP mode, when I entered the correct credentials).

The ESP goes into AP mode because the WLAN is switched off.
If WLAN is ON, it connects into STA mode correctly.

To be clear:
ESP knows credentials of the WLAN.
If WLAN is ON, it connects.
If WLAN is OFF, it enters AP mode and rests there forever.
How can I programmatically leave AP mode to enter STA mode, when WLAN is ON again?

Thanks!