fix: logical errors
This commit is contained in:
parent
174a3739b5
commit
4dd30c8722
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ Packets are sent in big endian.
|
|||
| `0x0D` | 4 bytes | `reply_to` | This describes what this packet is replying to, if initial message, value is `0x0` | `0x00000000` |
|
||||
| `0x11` | 1 byte | `command` | This describes what kind of command is sent | `0x00` |
|
||||
| `0x12` | 2 bytes | `data_length` | This describes the length of the data in bytes | `0x0001` |
|
||||
| `0x14` | `<0x11-0x12:data_length>` | `data` | This is the data of the command | `0x00` |
|
||||
| `0x14` | `<0x11-0x12:data_length>` | `data` | This is the data of the command | `0x0000` |
|
||||
| `0x14 + <0x11-0x12:data_length>` | 4 bytes | `checksum` | This is the CRC32 checksum of the packet without the checksum. | `0x00000000` |
|
||||
|
||||
# Packets in practice
|
||||
|
|
Loading…
Reference in a new issue