From f548351ea42c233ac8e4a07d2dd79ca94122a575 Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 11 Jan 2024 11:46:27 -0600 Subject: [PATCH] [SYS] Increase WiFi timeout (#1864) Enable to have a more reliable connection with some AP like TP-LINK EAP225 --- main/User_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/User_config.h b/main/User_config.h index 97c8826..abba1c2 100644 --- a/main/User_config.h +++ b/main/User_config.h @@ -128,7 +128,7 @@ const byte mac[] = {0xDE, 0xED, 0xBA, 0xFE, 0x54, 0x95}; //W5100 ethernet shield # define WifiManager_ConfigPortalTimeOut 240 //time in seconds for the setup portal to stay open, default 240s #endif #ifndef WiFi_TimeOut -# define WiFi_TimeOut 5 +# define WiFi_TimeOut 30 #endif #ifndef WM_DEBUG_LEVEL # define WM_DEBUG_LEVEL 1 // valid values are: DEBUG_ERROR = 0, DEBUG_NOTIFY = 1, DEBUG_VERBOSE = 2, DEBUG_DEV = 3, DEBUG_MAX = 4