add connect timer log

This commit is contained in:
Shawn A
2022-01-23 20:48:37 -06:00
parent c8a8cc2f31
commit 6e057dfbb2
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -459,6 +459,9 @@ class WiFiManager
uint16_t _httpPort = 80; // port for webserver
// uint8_t _retryCount = 0; // counter for retries, probably not needed if synchronous
uint8_t _connectRetries = 1; // number of sta connect retries, force reconnect, wait loop (connectimeout) does not always work and first disconnect bails
unsigned long _startconn = 0; // ms for timing wifi connects
bool _aggresiveReconn = false; // use an agrressive reconnect strategy, WILL delay conxs
// on some conn failure modes will add delays and many retries to work around esp and ap bugs, ie, anti de-auth protections
#ifdef ESP32
wifi_event_id_t wm_event_id;
@@ -494,8 +497,6 @@ class WiFiManager
String _bodyClass = ""; // class to add to body
String _title = FPSTR(S_brand); // app title - default WiFiManager
boolean _aggresiveReconn = false; // use an agrressive reconnect strategy, on some conn failure modes will add delays and many retries to work around esp and ap bugs, ie, anti de-auth protections
// internal options
// wifiscan notes