Skip to content

[ESP715]

Format SD Card, this depends on SD card format defined in configuration.h

[ESP715]FORMATSD 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

  • FORMATSD

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

an new message is sent when formating is done

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