Skip to content

Why do I find this confusing... #31

Answered by mathieucarbou
microfoundry asked this question in Q&A
Discussion options

You must be logged in to vote

hello!

when in captive portal mode, when the user select its choice (either ap mode or wifi), we activate AP mode (or try connect to wifi with timeout). Once done, captive portal is disabled.

usually, this is not something observed because most of the case, after a use choice is done, ESPConnect will reboot the ESP (there is a reboot option set to true by default). This is often easier to just reboot and restart with the proper network settings.

But if a reboot is not possible, option can be set to false, ESPConnect will disable captive portal and connect to network or AP mode. But you need to be careful with that, especially when using handlers, because network interface changes and ESPA…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by microfoundry
Comment options

You must be logged in to vote
0 replies
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