Files
OpenEPaperLink/oepl-esp-ap-proto.h
2023-09-02 12:26:40 +02:00

29 lines
477 B
C

#ifndef __packed
#define __packed __attribute__((packed))
#endif
struct espBlockRequest {
uint8_t checksum;
uint64_t ver;
uint8_t blockId;
uint8_t src[8];
} __packed;
struct espXferComplete {
uint8_t checksum;
uint8_t src[8];
} __packed;
struct espSetChannelPower {
uint8_t checksum;
uint8_t channel;
uint8_t power;
} __packed;
struct espAvailDataReq {
uint8_t checksum;
uint8_t src[8];
struct AvailDataReq adr;
} __packed;