Closed EDsteve closed 11 months ago
The JSON response from the firmware has an unquoted string value for the "cmd" field. For example, sending the command "getStatus" returns:
{"ecode" : 0, "cmd" : getStatus, "payload....
The correct JSON formatted response must the the value for "cmd" in quotes like:
{"ecode" : 0, "cmd" : "getStatus", "payload...
The JSON response from the firmware has an unquoted string value for the "cmd" field. For example, sending the command "getStatus" returns:
{"ecode" : 0, "cmd" : getStatus, "payload....
The correct JSON formatted response must the the value for "cmd" in quotes like:
{"ecode" : 0, "cmd" : "getStatus", "payload...