Get desktop application:
View/edit binary Protocol Buffers messages
* Request: "Press" the button on the device @start @next DebugLinkLayout
button press
swipe direction
keyboard input
touch X coordinate
touch Y coordinate
wait for layout change
touch hold duration
physical button press
* Structure representing button presses
Used in:
TODO: probably delete the middle_btn as it is not a physical one
Used in:
* Structure representing swipe direction
Used in:
* Explicit touch event type, used to separate TOUCH_START and TOUCH_END If not set, defaults to full click behavior (TOUCH_START + optional hold + TOUCH_END)
Used in:
* Request: Erase the SD card @start @next Success @next Failure
if true, the card will be formatted to FAT32.
* Request: Erase block of flash on device WARNING: Writing to the wrong location can irreparably break the device. @start @next Success @next Failure
* Response: GC heap information details. @end
* Key-value pair.
Used in:
* Request: Get GC heap information. @start @next DebugLinkGcInfo
(message has no fields)
* Request: Host asks for device pairing info @start @next DebugLinkPairingInfo
ID of the THP channel to get pairing info from
handshake hash of the THP channel
host's NFC secret (In case of NFC pairing)
* Request: Host asks for device state @start @next DebugLinkState
Trezor T < 2.6.0 only - wait until mnemonic words are shown
Trezor T < 2.6.0 only - wait until reset word position is requested
trezor-core only - wait until current layout changes changed in 2.6.4: multiple wait types instead of true/false.
Responds immediately with an empty `DebugLinkState` (used for client-side synchronization).
/ Wait behavior of the call.
Used in:
/ Respond immediately. If no layout is currently displayed, the layout / response will be empty.
/ Wait for next layout. If a layout is displayed, waits for it to change. / If no layout is displayed, waits for one to come up.
/ Return current layout. If no layout is currently displayed, waits for / one to come up.
* Response: Device text layout as a list of tokens as returned by Rust @end
* Response: Device wants host to log event @ignore
* Response: Device sends memory back @end
* Request: Read memory from device @start @next DebugLinkMemory
* Request: Write memory to device. WARNING: Writing to the wrong location can irreparably break the device. @start @next Success @next Failure
* Request: Set Optiga's security even counter to maximum @start @next Success
(message has no fields)
* Response: Device pairing info @end
ID of the THP channel the pairing info is from
handshake hash of the THP channel
CodeEntry pairing code
QrCode pairing code
NFC secret used in NFC pairing
* Request: Start or stop recording screen changes into given target directory @start @next Success
empty or missing to stop recording
which index to give the screenshots (after emulator restarts)
* Request: Re-seed RNG with given value @start @next Success
* Request: Remove all the previous debug event state @start @next Success
(message has no fields)
* Request: Set logging filter string. @start @next Success
filter string
* Response: Device current state @end
raw buffer of display
current PIN, blank if PIN is not set/enabled
current PIN matrix
current mnemonic secret
current BIP-32 node
is node/mnemonic encrypted using passphrase?
word on device display during ResetDevice workflow
current entropy during ResetDevice workflow
(fake) word on display during RecoveryDevice workflow
index of mnemonic word the device is expecting
during RecoveryDevice workflow
index of mnemonic word the device is expecting during ResetDevice workflow
current mnemonic type (BIP-39/SLIP-39)
current layout represented as a list of string tokens
* Request: Ask device to restart @start
(message has no fields)
* Request: Start or stop tracking layout changes @start @next Success
if true, start watching layout.