Skip to content
Discussion options

You must be logged in to vote

Ok, can you try and change the function to this one:

void removeTemporaryAP() {
#if defined (ESP32)
  WiFi.softAPdisconnect(true);
  WiFi.mode(WIFI_OFF);
  localAP = false;
  printlnToDebug("Temporary AP 'BSB-LAN' deactivated.");
#endif
}

If it works, and the AP disappears, please try again to reconnect and see if it comes back (as it should). Do that a few times to check that the mechanism works. Thanks!

Replies: 4 comments 7 replies

Comment options

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

Comment options

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

Comment options

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

Comment options

You must be logged in to vote
4 replies
@ikeaTheMan
Comment options

@fredlcore
Comment options

@ikeaTheMan
Comment options

@fredlcore
Comment options

Answer selected by ikeaTheMan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants