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*/ | |||||||||||||||||
"MAC": "STRING" | The MAC address of this WIFI interface | ||||||||||||||||
"SSID": "STRING" | Connection SSID | ||||||||||||||||
"BSSID": "STRING" | The special BSSID (format is like a MAC address) of SSID (If not configured, it will be empty) | ||||||||||||||||
"Uuid": | The WIFI connection Uuid | ||||||||||||||||
"AutoConnect": INTEGER | Auto connection option
| ||||||||||||||||
"Security": | Connection security option. It's one of these:
| ||||||||||||||||
"Psk": | Connection password | ||||||||||||||||
"DHCP": INTEGER |
| ||||||||||||||||
"IP": "STRING" | Manual specified IP address | ||||||||||||||||
"Mask": "STRING" | Manual specified subnet mask | ||||||||||||||||
"Prefix": "STRING" | The subnet prefix | ||||||||||||||||
"Gateway": "STRING" | Manual specified default gateway | ||||||||||||||||
"Dns1": "STRING" | Specified DNS1 or leave empty | ||||||||||||||||
"Dns2": "STRING" | Specified DNS2 or leave empty | ||||||||||||||||
} | |||||||||||||||||
} |
KILOVIEW Device HTTP API, v1.0
Copyright (c) 2016, KILOVIEW Electronics.