another protocol update
This commit is contained in:
12
README.md
12
README.md
@@ -5,12 +5,12 @@ Cheap DIY RC link based on LoRa 868MHz modules
|
|||||||
|
|
||||||
| Byte | Description | Notes |
|
| Byte | Description | Notes |
|
||||||
| ---- | ---- | ---- |
|
| ---- | ---- | ---- |
|
||||||
| 0 | Preamble | "Q" 0x51 |
|
| 1 | Preamble | "Q" 0x51 |
|
||||||
| 1 | Channel ID | channel used for comunication between TX and RX |
|
| 2 | Channel ID | channel used for comunication between TX and RX |
|
||||||
| 2 | Frame type & Payload Length | bits 7-5 defines frame type, bits 4-0 payload length |
|
| 3 | Frame type & Length | bits 7-5 defines frame, bits 4-0 payload length |
|
||||||
| 3 | Packet ID | |
|
| 4 | Packet ID | |
|
||||||
| 4 - 36 | Payload | 32 bytes max |
|
| 5 - 36 | Payload | 32 bytes max |
|
||||||
| payload length + 4 | CRC | XOR of all previous bytes |
|
| payload length + 5 | CRC | XOR of all previous bytes |
|
||||||
|
|
||||||
## Frame types
|
## Frame types
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user