GET connected state


Using the list devices api call here:

My dashboard shows device state as “live” and “connected”. I show “connected” when I have a PPP data session up on one of the modems. When I use the API call above, all my devices come back with state “live”. Is this by design? How do I query the same “connected” status as shown on my dashboard?


Hey tmcolby,

The state parameter you are referring to will only show you the state from the point of view of our database (basically live, paused, or deactivated). If you want to see the connection status you’d have to look the lastsession object in the same call. lastsession has an active field. This will show as true if the device is in a data session and false if it isn’t.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.