Hello all
So have a very weird one, and after extensive testing I can assure the following is true…
If I put the Electron into deep sleep via System.sleep(SLEEP_MODE_SOFTPOWEROFF, 120), when it wakes it is unable to connect to gsm and timesout, or in some cases connects after 200+ seconds. And the problem seems to get worse and worse each sleep cycle.
If i put in something like
while(!Cellular.ready()) {
Serial.println("Cellular not ready...");
delay(200);
}
Then it just hangs on this cellular not ready forever
If I pull the power completely, and then repower, I get a connection in the normal time, 30 seconds or so, everytime.
I am powering down like this…
Cellular.on(); //doing this as outlined here https://community.particle.io/t/electron-sleep-mode-deep-tips-and-examples/27823
delay(2000);
Cellular.off();
delay(2000);
System.sleep(SLEEP_MODE_SOFTPOWEROFF, sleep_seconds);
And then upon wake, connecting via Particle.connect();
Any known reason for this? (0.6.2 firmware)