What happen if an electron lost cell signal

I would like to know if a electron is going in a tunnel lost connection with cell towel, will it connect easily after that,
I work with a electron but when it lose signal from cell tower it do not reconnect to the cloud, I got BUMMER-Failed to fetch data for ever but the electron is still breathing cyan(sorry for my english)

It should auto-reconnect, but you also can monitor the connection state in your code and take measures to reestablish the connection after a dropout.

that means I have to put this in my code

void loop() {
if (Particle.connected() == false) {
Particle.connect();
}

am I right

Something like that, but after calling Particle.connect() you’d need to prevent calling it again for about 5 minutes to let it do its job correctly.

1 Like