Consider the LoRa header when checking packet length

This commit is contained in:
Jonathan Bennett
2024-09-22 16:09:46 -05:00
parent 2e24d244be
commit 18aac0ba25
2 changed files with 3 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
#define MAX_TX_QUEUE 16 // max number of packets which can be waiting for transmission
#define MAX_RHPACKETLEN 256
#define LORA_HEADER_LENGTH 16
#define PACKET_FLAGS_HOP_LIMIT_MASK 0x07
#define PACKET_FLAGS_WANT_ACK_MASK 0x08