Skip to content

Really need help - spending days trying this autoconnect functionality #491

Answered by tktf50
rowifi asked this question in How can I?
Discussion options

You must be logged in to vote

Hi @rowifi,

If you are still looking for help, it would be a good idea to post the relevant portions of your code. It's hard to tell from your original post whether you are having problems with specific parts of the code or the entire program.

However, I use a similar approach in one of my programs - so this may help you. I use a button to put the MCU into "configuration mode" at startup time. If the button is not pressed, the program runs in "normal mode" and attempts to connect to the WiFi network periodically.

WebServer   webServer;              // Web server
AutoConnect autoPortal(webServer);  // Control of WiFi connection and configuration portal

static bool doConfiguration = false;…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Hieromon
Comment options

Answer selected by Hieromon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants