I am trying to improve my error handling, I am issuing a hub.sync.status request and I’m getting this back
{“alert”:true,“status”:“idle {disconnected} {registration-failure} {network}{extended-network-failure} {transport}”,“mode”:“{modem-off}”,“sync”:true}
This provides useful information about modem status and previous issues, which is what I’m trying to gather to display to the user. However the documentation doesn’t give “mode” as a response member, so before I write my code around this, I wanted to know if this is correct and the docs are out of date, or if the docs are correct and this will be removed in a new version of the firmware. The notecard is on 6.1.1.16332.
I also noticed that seconds does not seem to be available. When in a penalty box I get this.
{“alert”:true,“status”:“network: can’t connect (6.3 min remaining) {registration-failure}{network}{extended-network-failure}”,“mode”:“{modem-off}”,“sync”:true}
Where the status gives me the time in the penalty box remaining, but there is no seconds response member. The docs suggest there should be?
Thanks