Set / Display Station IP address
[ESP103]IP=(IP) MSK=(IP) GW=(IP) DNS=(IP) json=(no) pwd=(admin/user password)
-
json=no the output format
can be in JSON or plain text -
pwd=(admin password) the admin password if authentication is enabled
-
IP
- if IP is empty, it will display defined IP
- if IP is not empty, it will set the IP
-
MSK
- if MSK is empty, it will display defined Network Mask
- if MSK is not empty, it will set the Network Mask
-
GW
- if GW is empty, it will display defined Gateway
- if GW is not empty, it will set the Gateway
-
DNS
- if DNS is empty, it will display defined DNS
- if DNS is not empty, it will set the DNS
Output
Section titled “Output”- In json format
{ "cmd": "103", "status": "ok", "data": { "ip": "192.168.0.1", "gw": "192.168.0.1", "msk": "255.255.255.0", "dns": "192.168.0.1" }}cmdId of requested command, should be103statusstatus of command, should beokdatacontent of response, here the IP, GW, MSK and DNS