added ability to set custom config for access point

This commit is contained in:
Alex Tudorache
2015-11-10 08:46:38 +02:00
parent 8f38a0fbaf
commit 87911808ab
4 changed files with 41 additions and 12 deletions
+5
View File
@@ -14,7 +14,12 @@ void setup() {
//WiFiManager
//Local intialization. Once its business is done, there is no need to keep it around
WiFiManager wifi;
//reset saved settings
//wifi.resetSettings();
//set custom ip for portal
//wifi.setAPConfig(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
//here "AutoConnectAP"