Extract of the code:
CellularSignal sig = Cellular.RSSI(); float strength = sig.getStrength(); float quality = sig.getQuality();
The problem is that
-1 often, but not always.
Setup description: I have (8) electrons that
- First turns on, waits 2 minutes (non-blocking).
- Precedes to publish an event using particle publish, that uses the code above.
- Device goes into deep sleep.
When I examine the documentation, I don’t find explanation of -1 output.
Notice, that the electron is able to complete the
particle.publish() successfully, even though signal strength and quality are
I hope you can help me resolve the issue. It really bugs me.