mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-03-21 00:57:46 +00:00
Restructured AMS data parsing
This commit is contained in:
7
src/ams/LlcParser.cpp
Normal file
7
src/ams/LlcParser.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "LlcParser.h"
|
||||
|
||||
int8_t LLCParser::parse(uint8_t *buf, DataParserContext &ctx) {
|
||||
LLCHeader* llc = (LLCHeader*) buf;
|
||||
ctx.length -= 3;
|
||||
return 3;
|
||||
}
|
||||
Reference in New Issue
Block a user