Added timestamp in milliseconds to messages

This commit is contained in:
Your Name
2026-09-29 15:00:06 +03:00
parent 92271ef376
commit 12f05d8f10
4 changed files with 260 additions and 28 deletions
+2 -1
View File
@@ -8,7 +8,7 @@
#define COMMAND_PREFIX 0x69
#define COMMAND_ID 0x00
#define COMMAND_DATA_SIZE 160
#define COMMAND_HEADER_SIZE 5
#define COMMAND_HEADER_SIZE 13
typedef enum {
COMMAND_ACK,
@@ -32,6 +32,7 @@ struct command_message_t {
uint8_t length;
uint8_t id;
uint8_t command;
int64_t tick;
uint8_t crc;
uint8_t data[COMMAND_DATA_SIZE];
} __attribute__((packed));