Support HDLC segmentation

This commit is contained in:
Gunnar Skjold
2024-03-02 08:33:19 +01:00
parent 7813d3ea08
commit 9caec71e1c
2 changed files with 38 additions and 1 deletions

View File

@@ -30,6 +30,11 @@ typedef struct HDLC3CtrlHcs {
class HDLCParser {
public:
int8_t parse(uint8_t *buf, DataParserContext &ctx);
private:
uint8_t lastSequenceNumber = 0;
uint16_t pos = 0;
uint8_t *buf = NULL;
};
#endif