mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-30 05:43:51 +00:00
Even more v2.2
This commit is contained in:
18
lib/AmsDecoder/include/LlcParser.h
Normal file
18
lib/AmsDecoder/include/LlcParser.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _LLCPARSER_H
|
||||
#define _LLCPARSER_H
|
||||
|
||||
#include "Arduino.h"
|
||||
#include "DataParser.h"
|
||||
|
||||
typedef struct LLCHeader {
|
||||
uint8_t dst;
|
||||
uint8_t src;
|
||||
uint8_t control;
|
||||
} __attribute__((packed)) LLCHeader;
|
||||
|
||||
class LLCParser {
|
||||
public:
|
||||
int8_t parse(uint8_t *buf, DataParserContext &ctx);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user