Is there a definitive solution (always works) to the “Boron stuck in Flashing Green” when attempting connect?
OS 1.5.2. Devices are running in an area where cellular strength is around 40%
The model I am using goes like this:
In normal operation, the devices are connect to the cloud 7/24.
Data to publish is buffered and sent upstream while “Particle.connected()” returns true
When the “Particle.disconnected()” returns true
A. Uses “Particle.disconnect” followed by “Cellular.off()” to turn the modem off
B. Wait 5 minutes
C. Uses Cellular.on() following to Particle.connect() to attempt a re-connect
D. Wait 10 minutes for “Particle.connected()” returns true
E. If the “Particle.connected()” does returns true in 10 minutes
F. Return to step A
In 99.9% of the time, this model works as one might expect - after one or more attempts the “Particle.connected()” returns true
In 0.1% of the time, this model fails and the Boron never come out of the “flashing Green” state.
Pressing the “Reset Button” and restarting the device always works.
During the connection recover process - step 2, the application continue to run and buffer data to be published when the connection is re-established.
A. Is there a better model to use?
B. Is the a Cellular.command() sequence the resets the cellular modem to the same state as pressing the “reset button” does.
All suggestion welcome. Thank you