Detecting "off network" condition


(Tom Otvos) #1

Is there any way to programmatically determine an “off network” condition? I have an app that regularly received “runIn” events and it occurs to me that if the device is not able to receive one or more of those events because, say, the router is down, then it might mess up my logic.

If a device is unreachable, is that logged somewhere?