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. |
} |
After call this API, the changed network arguments will not be brought to effect until you reboot the device, or call the API connectEthernet.lua to reconnect the connection.
Device HTTP API, v1.0
Copyright (c) 2016.