Closed rusty-labs closed 9 months ago
Hmm how tf is _connectretries increasing? Lol what in the world
There is only one reason
if (info.wifi_sta_disconnected.reason == WIFI_REASON_ASSOC_FAIL)
{
if (_aggresiveReconn)
_connectRetries += 4;
DEBUG_WM(DEBUG_VERBOSE, F("[EVENT] WIFI_REASON: AUTH FAIL"));
}
_connectretries is increased exactly by 12, meaning that the code above is being called 3 times
What line is that code? I missed it
I am so dumb. Lol usually this error only happens once I guess this should only be set one time
There is a typo
if(_aggresiveReconn & _connectRetries<4)
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32:
Hardware: Heltec wifi-lora-32-v3
Core Version: 2.4.0, staging
Description
Steps to reproduce
As a result program is stuck in an infinite reconnection loop
Problem can be solved by changing
_aggresiveReconn = false
Settings in IDE
Module: wifi-lora-32-v3
Sketch
Debug Messages