[ESP106]
Set Access point password
Input
[ESP106]<password> <NOPASSWORD> json=<no> pwd=<admin/user password>
-
json=no the output format can be in JSON or plain text
-
pwd= the admin password if authentication is enabled
-
password
- if password is not empty, it will set the password
-
NOPASSWORD
- if NOPASSWORD is present, it will remove the password
-
if password is empty and NOPASSWORD is not present, it will raise error: `Password not displayable``
Output
- In json format
{
"cmd":"106",
"status":"ok",
"data":"ok"
}
cmd
Id of requested command, should be106
status
status of command, should beok
data
content of response, hereok