Skip to content

Autoconnect only for SoftAP mode #294

Answered by Hieromon
francescogirotto asked this question in Q&A
Discussion options

You must be logged in to vote

AutoConnect aims to establish a connection to any AP by the ESP module itself as a WiFi station. (ie. as a WiFi client) So it can't keep the ESP module in only SoftAP mode.
If you enable the AutoConnectConfig::preserveAPMode setting, AutoConnect maintains the AP mode state when you call the library. If you enable AutoConnectConfig::preserveAPMode and start SoftAP prior to AutoConnect::begin, AutoConnect will not interfere with that SoftAP.
Also, to disabe AutoConnectConfig::autoRise setting. This setting directs to AutoConnect not to start the captive portal. Please note that AutoConnect aims to establish a connection with any AP and will try to be a station always.

It depends on the foll…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Hieromon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants