From 294c12fcd674f4f58b4fa619d6b4d0298b5f1ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Thu, 19 Oct 2017 21:54:02 +0200 Subject: [PATCH] Increase WIFI connect timeout & reconnect intervals --- code/espurna/config/general.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index 2e7b0e75..0197d350 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -258,8 +258,8 @@ PROGMEM const char* const custom_reset_string[] = { // WIFI // ----------------------------------------------------------------------------- -#define WIFI_CONNECT_TIMEOUT 30000 // Connecting timeout for WIFI in ms -#define WIFI_RECONNECT_INTERVAL 120000 // If could not connect to WIFI, retry after this time in ms +#define WIFI_CONNECT_TIMEOUT 60000 // Connecting timeout for WIFI in ms +#define WIFI_RECONNECT_INTERVAL 180000 // If could not connect to WIFI, retry after this time in ms #define WIFI_MAX_NETWORKS 5 // Max number of WIFI connection configurations #define WIFI_AP_MODE AP_MODE_ALONE