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
Output
Section titled “Output”- In json format
{ "cmd":"715", "status":"ok", "data":"Starting formating..."}cmdId of requested command, should be715statusstatus of command, should beokdatacontent of response, hereStarting formating...when SD card is starting
an new message is sent when formating is done
{ "cmd":"715", "status":"ok", "data":"Formating done"}cmdId of requested command, should be715statusstatus of command, should beokdatacontent of response, hereFormating donewhen SD card is done