Skip to content

[ESP111]

Display current IP

[ESP111](OUTPUT=PRINTER) (ALL) 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

  • OUTPUT

    • if OUTPUT is empty, it will display current IP as text 192.168.0.1
    • if OUTPUT is PRINTER, it will display current IP in printer format M117 192.168.0.1
  • ALL

    • it is set it will display IP, GW, MSK, DNS ip
  • In json format
{
"cmd":"111",
"status":"ok",
"data":"192.168.0.1"
}
  • cmd Id of requested command, should be 111
  • status status of command, should be ok
  • data content of response, here the IP