1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 14:58:09 +00:00

add SelfTest message

This commit is contained in:
Pavol Rusnak 2017-06-29 17:21:26 +02:00
parent 68f5246e2f
commit c2a40f4b67
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -42,6 +42,7 @@ enum MessageType {
MessageType_ButtonAck = 27 [(wire_in) = true, (wire_tiny) = true];
MessageType_GetAddress = 29 [(wire_in) = true];
MessageType_Address = 30 [(wire_out) = true];
MessageType_SelfTest = 32 [(wire_in) = true, (wire_bootloader) = true];
MessageType_BackupDevice = 34 [(wire_in) = true];
MessageType_EntropyRequest = 35 [(wire_out) = true];
MessageType_EntropyAck = 36 [(wire_in) = true];
@ -752,6 +753,15 @@ message FirmwareUpload {
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) //
/////////////////////////////////////////////////////////////