The Losant Edge Agent features the
isConnectedToLosant variable on the payload. This value is
true if your device is connected to the Losant Broker and
false if disconnected, and you can use it to trigger actions dependent on device connectivity!
We’ll be back next Tuesday with a new tip. Until then, keep exploring