JSON Protocol Reference
The following section describes the protocol profile of JSON.
General Request Format
{
"sn": 0, // Send message sequence number
"cmd": " ", // Command name
"uuid": "fa0000014000012402201180001015134", // Unique device identifier
"body": {
//Add contents when method is POST or PUT
}
}
General Response Format
{
"sn": 0, //Receive message sequence number
"cmd": " ", //Command name
"uuid": "fa0000014000012402201180001015134", // Unique device identifier
"body": {
// Different contents depending on features
}
}