We have been quite successful with our project so far and we are encountering another hurdle we are getting over. Our system will run for about 24 hours connected to the network, but will mysteriously go offline and not re-connect. We are looking for suggestions on how we should be handling our data connections, here is our proposed flow:
le_avdata_AddSessionStateHandler to manage the session with Air Vantage.
PollForConnection to see if we’re online (sometimes it says we’re online when we actually aren’t)
If our publish fails we are considering using le_mrc_interface (modem radio control) and power cycling the radio. Is this a good idea? Or will this just cause us pain?
We have been looking at the RedSensorToCloud repo, but it doesn’t seem to have any way of connecting and disconnecting from the network and retrying if it cannot connect.
Thanks for the help!