Format
<message start> <message sender ID> <message receiver ID> <message ID> <message number> <data length> <CRC>
Field |
Offset |
Size in bytes |
---|---|---|
Message start |
0 | 1 |
Message sender ID |
1 | 1 |
Message receiver ID |
2 | 1 |
Message ID |
3 | 1 |
Message number |
4 | 1 |
Data length |
5–6 | 2 |
CRC |
7–8 | 2 |
Example
0xab 0x00 0x01 0x11 0x02 0x00 0x00 0x32 0xa7
Field | Bytes | Value |
---|---|---|
Message start |
0xab | 0xab |
Message sender ID |
0x00 | 0 |
Message receiver ID |
0x01 | 1 |
Message ID |
0x11 | 0x11 |
Message number |
0x02 | 2 |
Data length |
0x00 0x00 | 0 |
CRC |
0x32 0xa7 | - |