mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-05-17 14:28:47 +00:00
protob: add state
field to Initialize and Features
This commit is contained in:
parent
8652df0c69
commit
c7dcca60c7
@ -108,6 +108,7 @@ enum MessageType {
|
|||||||
* @next Features
|
* @next Features
|
||||||
*/
|
*/
|
||||||
message Initialize {
|
message Initialize {
|
||||||
|
optional bytes state = 1; // assumed device state
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -149,6 +150,7 @@ message Features {
|
|||||||
optional uint32 fw_patch = 24; // reported firmware version if in bootloader mode
|
optional uint32 fw_patch = 24; // reported firmware version if in bootloader mode
|
||||||
optional string fw_vendor = 25; // reported firmware vendor if in bootloader mode
|
optional string fw_vendor = 25; // reported firmware vendor if in bootloader mode
|
||||||
optional bytes fw_vendor_keys = 26; // reported firmware vendor keys (their hash)
|
optional bytes fw_vendor_keys = 26; // reported firmware vendor keys (their hash)
|
||||||
|
optional bytes state = 27; // current device state
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user