-
Notifications
You must be signed in to change notification settings - Fork 11
Get rid of waitForNetwork function #8
Description
Per the RockBlock documentation:
Iridium satellites move across the horizon in a matter of minutes.
Your available horizon will likely not be spanning all the way to 180 degrees but instead may be obstructed by mountains, buildings or trees.
The +CSQ command takes about 20 seconds to return a result.
During this time, it is very possible that a satellite may have had an unobstructed view of your RockBLOCK, returned a 5 bar signal and then disappeared behind an obstruction or even the horizon itself.
We recommend simply transmitting your data via the +SBDIX command - if a transmission error occurs, you can try again at a later time. Your account will be billed only the credits that pertain to a successful MO/MT transmission.
Skipping waitForNetwork definitely seems to work better in practice. Messages come through much quicker if we don't have to wait to read the signal strength beforehand.