Zmena ip adresy na 10.1.1.1 kvuli Captive portalu

This commit is contained in:
Pavel Brychta 2018-12-21 07:43:11 +01:00
parent d0e01c567c
commit 7fec2df6b9

View File

@ -697,7 +697,8 @@ wificonfigresult_t WiFiConfig::_setupAP(wificonfig_cb cb)
#endif
/* Soft AP network parameters */
IPAddress apIP(192, 168, 4, 1);
// IPAddress apIP(192, 168, 4, 1);
IPAddress apIP(10, 1, 1, 1); // zmena kvuli funkcnimu Captive portalu viz. https://github.com/espressif/arduino-esp32/issues/1037
IPAddress netMsk(255, 255, 255, 0);
WiFi.disconnect(); // pro jistotu se odpojime