mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-14 10:38:09 +00:00
WIP - revert protobuf autoformatting
This commit is contained in:
parent
3c1c2f3da6
commit
14976d8a96
@ -80,9 +80,7 @@ message DebugLinkReseedRandom {
|
||||
*/
|
||||
message DebugLinkRecordScreen {
|
||||
optional string target_directory = 1; // empty or missing to stop recording
|
||||
optional uint32 refresh_index = 2
|
||||
[default =
|
||||
0]; // which index to give the screenshots (after emulator restarts)
|
||||
optional uint32 refresh_index = 2 [default=0]; // which index to give the screenshots (after emulator restarts)
|
||||
}
|
||||
|
||||
/**
|
||||
@ -91,10 +89,8 @@ message DebugLinkRecordScreen {
|
||||
* @next DebugLinkState
|
||||
*/
|
||||
message DebugLinkGetState {
|
||||
optional bool wait_word_list =
|
||||
1; // Trezor T only - wait until mnemonic words are shown
|
||||
optional bool wait_word_pos =
|
||||
2; // Trezor T only - wait until reset word position is requested
|
||||
optional bool wait_word_list = 1; // Trezor T only - wait until mnemonic words are shown
|
||||
optional bool wait_word_pos = 2; // Trezor T only - wait until reset word position is requested
|
||||
optional bool wait_layout = 3; // wait until current layout changes
|
||||
}
|
||||
|
||||
@ -108,30 +104,22 @@ message DebugLinkState {
|
||||
optional string matrix = 3; // current PIN matrix
|
||||
optional bytes mnemonic_secret = 4; // current mnemonic secret
|
||||
optional common.HDNodeType node = 5; // current BIP-32 node
|
||||
optional bool passphrase_protection =
|
||||
6; // is node/mnemonic encrypted using passphrase?
|
||||
optional string reset_word =
|
||||
7; // word on device display 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 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
|
||||
optional management.BackupType mnemonic_type =
|
||||
12; // current mnemonic type (BIP-39/SLIP-39)
|
||||
repeated string tokens =
|
||||
13; // current layout represented as a list of string tokens
|
||||
optional bool passphrase_protection = 6; // is node/mnemonic encrypted using passphrase?
|
||||
optional string reset_word = 7; // word on device display 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 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
|
||||
optional management.BackupType mnemonic_type = 12; // current mnemonic type (BIP-39/SLIP-39)
|
||||
repeated string tokens = 13; // current layout represented as a list of string tokens
|
||||
}
|
||||
|
||||
/**
|
||||
* Request: Ask device to restart
|
||||
* @start
|
||||
*/
|
||||
message DebugLinkStop {}
|
||||
message DebugLinkStop {
|
||||
}
|
||||
|
||||
/**
|
||||
* Response: Device wants host to log event
|
||||
@ -185,6 +173,7 @@ message DebugLinkFlashErase {
|
||||
optional uint32 sector = 1;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Request: Erase the SD card
|
||||
* @start
|
||||
@ -196,6 +185,7 @@ message DebugLinkEraseSdCard {
|
||||
// if false, it will be all 0xFF bytes.
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Request: Start or stop tracking layout changes
|
||||
* @start
|
||||
@ -206,9 +196,11 @@ message DebugLinkWatchLayout {
|
||||
// if false, stop.
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Request: Remove all the previous debug event state
|
||||
* @start
|
||||
* @next Success
|
||||
*/
|
||||
message DebugLinkResetDebugEvents {}
|
||||
message DebugLinkResetDebugEvents {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user