Build epoch in info, flash-status command, cmake version embedding
This commit is contained in:
@@ -57,8 +57,9 @@ struct ResponseInfo {
|
||||
std::array<uint8_t, 4> ip;
|
||||
std::string firmware_name;
|
||||
boot_reason boot;
|
||||
auto as_tuple() const { return std::tie(board_id, mac, ip, firmware_name, boot); }
|
||||
auto as_tuple() { return std::tie(board_id, mac, ip, firmware_name, boot); }
|
||||
uint32_t build_epoch;
|
||||
auto as_tuple() const { return std::tie(board_id, mac, ip, firmware_name, boot, build_epoch); }
|
||||
auto as_tuple() { return std::tie(board_id, mac, ip, firmware_name, boot, build_epoch); }
|
||||
};
|
||||
|
||||
struct RequestLog {
|
||||
@@ -121,6 +122,20 @@ struct ResponseReboot {
|
||||
auto as_tuple() { return std::tie(); }
|
||||
};
|
||||
|
||||
struct RequestFlashStatus {
|
||||
static constexpr int8_t ext_id = 14;
|
||||
auto as_tuple() const { return std::tie(); }
|
||||
auto as_tuple() { return std::tie(); }
|
||||
};
|
||||
|
||||
struct ResponseFlashStatus {
|
||||
static constexpr int8_t ext_id = 15;
|
||||
int8_t boot_partition;
|
||||
uint8_t boot_type;
|
||||
auto as_tuple() const { return std::tie(boot_partition, boot_type); }
|
||||
auto as_tuple() { return std::tie(boot_partition, boot_type); }
|
||||
};
|
||||
|
||||
struct RequestListTests {
|
||||
static constexpr int8_t ext_id = 125;
|
||||
auto as_tuple() const { return std::tie(); }
|
||||
|
||||
Reference in New Issue
Block a user