HB, OTA etc
This commit is contained in:
9
esp32/main/fw_command.h
Normal file
9
esp32/main/fw_command.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
typedef struct {
|
||||
bool is_fw;
|
||||
char url[256];
|
||||
char sha256[65]; // 64 + \0
|
||||
} fw_cmd_t;
|
||||
|
||||
bool parse_fw_command(const char *msg, fw_cmd_t *out);
|
||||
Reference in New Issue
Block a user