mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 06:47:17 +00:00

* sml ams crypto support * add ams library * fix crc names * fix TLS dependency * Update library.properties * Update xsns_53_sml.ino
19 lines
302 B
C++
19 lines
302 B
C++
#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
|