Inital Commit with working code gen for c
This commit is contained in:
Vendored
+54
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"protocol": {
|
||||
"start_byte": "0xAA",
|
||||
"message_length": 0,
|
||||
"max_payload": 255,
|
||||
"checksum": "xor"
|
||||
},
|
||||
"messages_esp_to_pc": [
|
||||
{
|
||||
"name": "Status",
|
||||
"id": "0xE2",
|
||||
"payload": [
|
||||
{ "name": "clientid", "type": "uint8_t" },
|
||||
{ "name": "mac", "type": "uint8_t[6]" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Pong",
|
||||
"id": "0xD1",
|
||||
"payload": [
|
||||
{ "name": "clientid", "type": "uint8_t" },
|
||||
{ "name": "ping", "type": "uint32_t" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"messages_pc_to_esp": [
|
||||
{
|
||||
"name": "RequestPing",
|
||||
"id": "0xE1",
|
||||
"payload": [
|
||||
{ "name": "clientid", "type": "uint8_t" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "RequestStatus",
|
||||
"id": "0xE2",
|
||||
"payload": [
|
||||
{ "name": "clientid", "type": "uint8_t" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PrepareFirmwareUpdate",
|
||||
"id": "0xF1"
|
||||
},
|
||||
{
|
||||
"name": "FirmwareUpdateLine",
|
||||
"id": "0xF2",
|
||||
"payload": [
|
||||
{ "name": "data", "type": "uint8_t", "array": 240 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user