From a231ae5deb4ee3d3b67a5d28f9c80a4286e018c7 Mon Sep 17 00:00:00 2001 From: Robert Oostenveld Date: Sat, 7 Jan 2017 22:10:00 +0100 Subject: [PATCH] use setAPStaticIPConfig instead of (old?) setAPConfig in first example --- examples/AutoConnect/AutoConnect.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/AutoConnect/AutoConnect.ino b/examples/AutoConnect/AutoConnect.ino index 37ff392..0c44909 100644 --- a/examples/AutoConnect/AutoConnect.ino +++ b/examples/AutoConnect/AutoConnect.ino @@ -17,7 +17,7 @@ void setup() { //wifiManager.resetSettings(); //set custom ip for portal - //wifiManager.setAPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0)); + //wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0)); //fetches ssid and pass from eeprom and tries to connect //if it does not connect it starts an access point with the specified name