Set / Display Ethernet Station IP mode
[ESP116](mode) 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 -
mode
- if mode is empty, it will display current mode
- if mode is not empty, it will set the setting mode:
DHCPorSTATIC
Output
Section titled “Output”- In json format
{ "cmd":"116", "status":"ok", "data":"DHCP"}cmdId of requested command, should be116statusstatus of command, should beokdatacontent of response, here the mode