WiFi connect fail after working for months
Posted: Sat Mar 26, 2016 12:25 pm
I've had an application that connect to my AP that's been working for months. It now fails with WDT timeout while connecting to the AP.
The module WiFi seems to be working because I can scan for active APs.
In the following code the app hangs in the call to WiFi.status() then the WDT resets. The progress indicator shows four "." at .5 sec interval then hangs followed by the WDT timeout.
The login to the AP is confirmed as working.
Using Huzzah ESP8266 Breakout
Any ideas ??
Serial.print("Connecting to : ");
WiFi.begin(ssid, password);
int v = 0;
while (WiFi.status() != WL_CONNECTED && (v++ <20))
{
delay(500);
Serial.print(".")
}
The module WiFi seems to be working because I can scan for active APs.
In the following code the app hangs in the call to WiFi.status() then the WDT resets. The progress indicator shows four "." at .5 sec interval then hangs followed by the WDT timeout.
The login to the AP is confirmed as working.
Using Huzzah ESP8266 Breakout
Any ideas ??
Serial.print("Connecting to : ");
WiFi.begin(ssid, password);
int v = 0;
while (WiFi.status() != WL_CONNECTED && (v++ <20))
{
delay(500);
Serial.print(".")
}