WiFiManager icon indicating copy to clipboard operation
WiFiManager copied to clipboard

do not disable internal ap when device connected to external ap

Open alirezaimi opened this issue 4 years ago • 4 comments

Hi Is there any option exist in this library that after my board connected to external access point, do not disable internal ap of board ? I'm asking this because i want both ap and sta mode active simultaneously in my esp8266 board for when external ap or internet connection is dead, i can connect to board with internal ap of board .

alirezaimi avatar Jun 05 '20 05:06 alirezaimi

Hi in esp8266 board the ability of using both AP and sta in same time is exist and I want to use it, but in this library after connecting to AP, the internal sta disabled by default . I want to choose it optionally , how ???

alirezaimi avatar Apr 22 '22 08:04 alirezaimi

just turn it on like usual WiFi.softAp()

tablatronix avatar Apr 22 '22 12:04 tablatronix

Hi @tablatronix When should i do this ? I mean in setup I got these lines :

// -- Initializing the configuration.
iotWebConf.init();

// -- Set up required URL handlers on the web server.
server.on("/", handleRoot);
server.on("/config", []{ iotWebConf.handleConfig(); });
server.onNotFound([](){ iotWebConf.handleNotFound(); });

and everything is handled by library itself, when i turn on softap again after the library disable it ?

alirezaimi avatar Apr 25 '22 10:04 alirezaimi

hmm you mentioned ap mode not a webserver.. you can use the wm.server()

someone else just asked this in another issue, let me check

tablatronix avatar Apr 25 '22 13:04 tablatronix