From 66a85673ed303f2cf48bdb3d027adbc7e8464364 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Tue, 20 Mar 2018 16:45:10 +0100 Subject: [PATCH] add debug link fields --- protob/messages.proto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/protob/messages.proto b/protob/messages.proto index 2ffc08f41..f40469bb9 100644 --- a/protob/messages.proto +++ b/protob/messages.proto @@ -976,7 +976,9 @@ message CosiSignature { * @next Success */ message DebugLinkDecision { - required bool yes_no = 1; // true for "Confirm", false for "Cancel" + optional bool yes_no = 1; // true for "Confirm", false for "Cancel" + optional bool up_down = 2; // true for scroll up, false for scroll down + optional string input = 3; // keyboard input } /** @@ -1001,6 +1003,7 @@ message DebugLinkState { optional bytes reset_entropy = 8; // current entropy during ResetDevice workflow optional string recovery_fake_word = 9; // (fake) word on display during RecoveryDevice workflow optional uint32 recovery_word_pos = 10; // index of mnemonic word the device is expecting during RecoveryDevice workflow + optional uint32 reset_word_pos = 11; // index of mnemonic word the device is expecting during ResetDevice workflow } /**