mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-15 07:31:21 +10:00
adds test of setCaptivePortalEnable to example
This commit is contained in:
@@ -42,7 +42,8 @@ void loop() {
|
||||
//WITHOUT THIS THE AP DOES NOT SEEM TO WORK PROPERLY WITH SDK 1.5 , update to at least 1.5.1
|
||||
//WiFi.mode(WIFI_STA);
|
||||
|
||||
wifiManager.setCaptivePortalEnable(false);
|
||||
// disable captibe portal redirection
|
||||
// wifiManager.setCaptivePortalEnable(false);
|
||||
|
||||
if (!wifiManager.startConfigPortal("OnDemandAP")) {
|
||||
Serial.println("failed to connect and hit timeout");
|
||||
|
||||
Reference in New Issue
Block a user