This commit is contained in:
2026-01-13 01:14:51 +01:00
parent eed612f457
commit 6a48dcd61e
10 changed files with 163 additions and 52 deletions

View File

@@ -2,6 +2,7 @@
#define PACKETSTRUCTS_FILE
#include <stdint.h>
#include "stddef.h"
#define ROUTE_TYPE_MASK 0x03
#define PAYLOAD_TYPE_MASK 0x3C
#define PAYLOAD_VERSION_MASK 0xC0
@@ -90,7 +91,7 @@ typedef struct FrameStruct {
uint8_t header;
uint8_t transportCodes[4];
Path path;
uint8_t payloadLen;
size_t payloadLen;
uint8_t payload[184];
} FrameStruct;