Skip to content

[ESP710]

Format ESP Filesystem

[ESP710]FORMATFS json=(no) pwd=(admin password)

  • json=no the output format can be in JSON or plain text

  • pwd=(admin password) the admin password if authentication is enabled

  • FORMATFS

    • if FORMATFS is present, it will format the local filesystem
  • In json format
{
"cmd":"710",
"status":"ok",
"data":"Starting formating..."
}
  • cmd Id of requested command, should be 710
  • status status of command, should be ok
  • data content of response, here Starting formating... when filesystem is starting

an new message is sent when formating is done

{
"cmd":"710",
"status":"ok",
"data":"Formating done"
}
  • cmd Id of requested command, should be 710
  • status status of command, should be ok
  • data content of response, here Formating done when filesystem is done