mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 11:59:12 +03:00
Увеличиваем интервал переподключения к сети до 30 сек для возможности настроить параметры соединения
This commit is contained in:
@@ -63,7 +63,7 @@ bool startAPMode() {
|
|||||||
|
|
||||||
if (jsonReadInt(errorsHeapJson, "passer") != 1) {
|
if (jsonReadInt(errorsHeapJson, "passer") != 1) {
|
||||||
ts.add(
|
ts.add(
|
||||||
WIFI_SCAN, 10 * 1000, [&](void*) {
|
WIFI_SCAN, 30 * 1000, [&](void*) {
|
||||||
String sta_ssid = jsonReadStr(settingsFlashJson, "routerssid");
|
String sta_ssid = jsonReadStr(settingsFlashJson, "routerssid");
|
||||||
|
|
||||||
SerialPrint("i", "WIFI", "scanning for " + sta_ssid);
|
SerialPrint("i", "WIFI", "scanning for " + sta_ssid);
|
||||||
|
|||||||
Reference in New Issue
Block a user