mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 15:28:10 +00:00
add SelfTest message
This commit is contained in:
parent
68f5246e2f
commit
c2a40f4b67
@ -42,6 +42,7 @@ enum MessageType {
|
|||||||
MessageType_ButtonAck = 27 [(wire_in) = true, (wire_tiny) = true];
|
MessageType_ButtonAck = 27 [(wire_in) = true, (wire_tiny) = true];
|
||||||
MessageType_GetAddress = 29 [(wire_in) = true];
|
MessageType_GetAddress = 29 [(wire_in) = true];
|
||||||
MessageType_Address = 30 [(wire_out) = true];
|
MessageType_Address = 30 [(wire_out) = true];
|
||||||
|
MessageType_SelfTest = 32 [(wire_in) = true, (wire_bootloader) = true];
|
||||||
MessageType_BackupDevice = 34 [(wire_in) = true];
|
MessageType_BackupDevice = 34 [(wire_in) = true];
|
||||||
MessageType_EntropyRequest = 35 [(wire_out) = true];
|
MessageType_EntropyRequest = 35 [(wire_out) = true];
|
||||||
MessageType_EntropyAck = 36 [(wire_in) = true];
|
MessageType_EntropyAck = 36 [(wire_in) = true];
|
||||||
@ -752,6 +753,15 @@ message FirmwareUpload {
|
|||||||
optional bytes hash = 2; // hash of the payload
|
optional bytes hash = 2; // hash of the payload
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request: Perform a device self-test
|
||||||
|
* @next Success
|
||||||
|
* @next Failure
|
||||||
|
*/
|
||||||
|
message SelfTest {
|
||||||
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////
|
||||||
// Debug messages (only available if DebugLink is enabled) //
|
// Debug messages (only available if DebugLink is enabled) //
|
||||||
/////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user