The Ethernet IP address configuration may give you trouble like:
(1) Forgot the manual set IP address
(2) Enabled DHCP but it can't obtain IP address
(3) DHCP works, but never know what the address is
To solve above problems, you can configure a 'failsafe'(easy remember) address for Ethernet. Once you can't access the device because above problems, you can use the 'failback' address.
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*/ | |
"Enable": "STRING" | Failsafe function enabling. 0=Disabled, 1=Enabled. |
"IP": "STRING" | Failsafe IP address |
"Netmask": "STRING" | Subnet mask (E.g. 255.255.255.0) |
} | |
} |
Device HTTP API, v1.0
Copyright (c) 2016.