1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

add debuglinklog message

This commit is contained in:
Pavol Rusnak 2014-01-09 14:15:53 +01:00
parent 644d75caff
commit 1a42bc3b70

View File

@ -52,6 +52,7 @@ enum MessageType {
MessageType_DebugLinkGetState = 101 [(wire_debug_in) = true]; MessageType_DebugLinkGetState = 101 [(wire_debug_in) = true];
MessageType_DebugLinkState = 102 [(wire_debug_out) = true]; MessageType_DebugLinkState = 102 [(wire_debug_out) = true];
MessageType_DebugLinkStop = 103 [(wire_debug_in) = true]; MessageType_DebugLinkStop = 103 [(wire_debug_in) = true];
MessageType_DebugLinkLog = 104 [(wire_debug_out) = true];
} }
// **************************************************************************** // ****************************************************************************
@ -344,3 +345,9 @@ message DebugLinkState {
// Ask device to shutdown/restart // Ask device to shutdown/restart
message DebugLinkStop { message DebugLinkStop {
} }
message DebugLinkLog {
optional uint32 level = 1;
optional bytes bucket = 2;
optional bytes text = 3;
}