Closed
Description
Hardware: ESP12E
Core Version: Latest master
Hi,
I noticed since the 2.4.0 (even the latest) I get random network disconnection. Not that hard to handle. But in few case, I get WiFi.waitForConnectResult() taking up to 1 hour to return the result :
Code :
Serial.printf(F("Connecting to %s with key %s...\n"), conf.SSID, conf.WKEY);
WiFi.begin(conf.SSID, conf.WKEY);
delay(50);
if (WiFi.waitForConnectResult() == WL_CONNECTED)
{
Serial.println(F("WiFi connected"));
return true;
}
Serial monitor :
[06/02/18 - 01:34:15:776] Connecting to *** with key ***...
[06/02/18 - 02:20:21:509] WiFi connected
[06/02/18 - 06:26:26:208] Connecting to *** with key ***...
[06/02/18 - 06:45:57:847] WiFi connected
It could takes 1 minute or 5 minutes or in that case 45 minutes to return status code.
I have others ESP8266 with same code that are able to connect and send data during those disconnection.
This problem doesn't appear at the beggining. In that case, the problem appears after 10 hours of running with no problems.
Thank you