We're developing an nRF9160 based piece of hardware that will use Asset Tracker 2 and nRF Cloud.
We're trying to understand what the "reported' "connection" status means in the Device Shadow.
I assume this refers to the status of the connection between the device and nRF Cloud.
However, I also notice that when this is reported as "status" : "disconnected", that the nRF Cloud is also reporting that the device no longer has an LTE connection.
This is confusing. Does loss of connection betweent the Device and Cloud and mean loss of connection to the LTE Network?
I assume that if there is a loss of connection to the LTE Network, then that would also cause a loss of connection to the nRF Cloud.
But the reason for the loss of connection to the cloud is reported as "MQTT_KEEP_ALIVE_TIMEOUT", and the "keepalive" timer is set to 1200. So does that mean the if there is no MQTT activity for 1200 seconds that the cloud connection automatically shuts down?
Sorry, but I'm very confused by all this. Can someone please help me understand how this all works.
Thanks,