Compare commits
2 Commits
c9e366b542
...
88e480716a
Author | SHA1 | Date |
---|---|---|
Dirk Jahnke | 88e480716a | |
Dirk Jahnke | 8b25f2f2a6 |
|
@ -40,9 +40,9 @@ void saveConfigCallback () {
|
||||||
void setupWifiConnection() {
|
void setupWifiConnection() {
|
||||||
WiFiManager wifiManager;
|
WiFiManager wifiManager;
|
||||||
|
|
||||||
//set config save notify callback
|
|
||||||
wifiManager.setSaveConfigCallback(saveConfigCallback);
|
wifiManager.setSaveConfigCallback(saveConfigCallback);
|
||||||
|
wifiManager.setConfigPortalTimeout(300);
|
||||||
|
|
||||||
//set static ip
|
//set static ip
|
||||||
IPAddress _ip,_gw,_sn;
|
IPAddress _ip,_gw,_sn;
|
||||||
_ip.fromString(static_ip);
|
_ip.fromString(static_ip);
|
||||||
|
|
Loading…
Reference in New Issue