Skip to content

[ESP102]

Set / Display Station IP mode

[ESP102](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: DHCP or STATIC
  • In json format
{
"cmd":"102",
"status":"ok",
"data":"DHCP"
}
  • cmd Id of requested command, should be 102
  • status status of command, should be ok
  • data content of response, here the mode