merged old Esp Verison with better FileManagement
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
#ifndef PROTOCOL_H
|
||||
#define PROTOCOL_H
|
||||
|
||||
#define PACKET_VERSION 1
|
||||
#define PKT_COMMAND 1
|
||||
#define PKT_CONFIG 2
|
||||
#define PKT_DISPLAY 3
|
||||
|
||||
#define FT_ARRAY_F32 1
|
||||
#define FT_STRING 2
|
||||
#define FT_UINT8 3
|
||||
#define FT_CONFIG_VAL 4
|
||||
|
||||
struct PacketHeader {
|
||||
uint8_t packet_id;
|
||||
uint8_t version;
|
||||
uint16_t payload_len;
|
||||
uint32_t timestamp;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user