Return a JSON style result. The JSON format is:
{ /*OBJECT*/ | |||||||||||
"Result": NUMBER | 200 means OK, other error code meanings are similar to HTTP Response. | ||||||||||
"Status": "STRING" | Status message. Responsing result status of API executive, if there errors, it will describe reasons. | ||||||||||
"Data": { /*OBJECT*/ | |||||||||||
"Device": "STRING" | WWan device name (e.g. ppp0) | ||||||||||
"Object": "STRING" | WWan Object name | ||||||||||
"State": "STRING" | Current WWan connecting status is one of followings:
| ||||||||||
"StateReason": "STRING" | When WWan is in a state of "disabled/off/connecting/error", reason that return to this status (String, its language can be decided by _LANG argument) | ||||||||||
"StateReasonCode": INTEGER | StateReason's code | ||||||||||
"Capabilities": "STRING" | WWan capabilities, it may be either one or combined of CDMA/EVDO, GSM/UMTS/HSPA, LTE (separated by ,) | ||||||||||
"IP": "STRING" | Currently obtained IP address | ||||||||||
"Prefix": INTEGER | Subnet mask in prefix (E.g. 24 is 255.255.255.0, 16 is 255.255.0.0) | ||||||||||
"Gateway": "STRING" | Default gateway | ||||||||||
} | |||||||||||
} |
KILOVIEW Device HTTP API, v1.0
Copyright (c) 2016, KILOVIEW Electronics.