Quick question. Does having this in the code use up cellular data?
CellularSignal sig = Cellular.RSSI();
strength = sig.getStrength();
quality = sig.getQuality();
I'm trying to get to the bottom of an issue. I have 3 devices that are using over >1 MB of data daily while the remaining device using the same .bin file are using < 0.2 MB daily. As a troubleshooting step I updated the three devices to OS 4.1.0 today to see if the data usage comes down over the next few days. It would be great to have more insight into the data usage info in the console.
The RSSI function does not use any cellular data or data operations.
Note, however, that it can block for a long period of time, so keep that in mind if running out of the main application loop thread.
Thanks @rickkas7, yes I am running it out of the main thread.
After upgrading to 4.1.0 it looks like data usage on those devices is similar to the rest of the fleet. Its only been around 48 hours but things are looking much better.
Would upgrading from 4.0.2 to 4.1.0 be expected to lower data usage?
I'll defer to the Particle team on that. My code did not change only the Particle OS version changed and I did notice the data usage drop thus far.
We have had great success from changes to Particle.keepAlive (see Looking for text compression for published data - #9 by rickkas7), but kept the OS at 4.0.2. Three of our devices are still "off the charts" compared to the rest. Will try 4.1.0.