mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-30 01:01:00 +00:00
add debug link fields
This commit is contained in:
parent
d83bb5464c
commit
66a85673ed
@ -976,7 +976,9 @@ message CosiSignature {
|
|||||||
* @next Success
|
* @next Success
|
||||||
*/
|
*/
|
||||||
message DebugLinkDecision {
|
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 bytes reset_entropy = 8; // current entropy during ResetDevice workflow
|
||||||
optional string recovery_fake_word = 9; // (fake) word on display during RecoveryDevice 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 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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user