52 lines
976 B
JSON
52 lines
976 B
JSON
{
|
|
"protocol_name": "CCU参数设置反馈",
|
|
"message_id": "0x0040",
|
|
"length": 10,
|
|
"checksum": {
|
|
"start_offset": 0,
|
|
"end_offset": 6,
|
|
"algorithm": "sum"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "start1",
|
|
"offset": 0,
|
|
"type": "uint8",
|
|
"value": "0x20",
|
|
"description": "起始字节1"
|
|
},
|
|
{
|
|
"name": "start2",
|
|
"offset": 1,
|
|
"type": "uint8",
|
|
"value": "0x20",
|
|
"description": "起始字节2"
|
|
},
|
|
{
|
|
"name": "id",
|
|
"offset": 2,
|
|
"type": "uint16",
|
|
"value": "0x0040",
|
|
"description": "消息ID"
|
|
},
|
|
{
|
|
"name": "length",
|
|
"offset": 4,
|
|
"type": "uint16",
|
|
"value": 10,
|
|
"description": "消息长度"
|
|
},
|
|
{
|
|
"name": "flag",
|
|
"offset": 6,
|
|
"type": "uint8",
|
|
"description": "设置标志位"
|
|
},
|
|
{
|
|
"name": "failvreCode",
|
|
"offset": 7,
|
|
"type": "uint8",
|
|
"description": "故障代码"
|
|
}
|
|
]
|
|
} |