mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-04 13:38:28 +00:00
feat(legacy): adapt legacy to THP changes
[no changelog]
This commit is contained in:
parent
caf2317e9c
commit
309af26ae3
@ -191,6 +191,12 @@ void fsm_sendFailure(FailureType code, const char *text)
|
||||
case FailureType_Failure_InvalidSession:
|
||||
text = _("Invalid session");
|
||||
break;
|
||||
case FailureType_Failure_ThpUnallocatedSession:
|
||||
text = _("Unallocated session");
|
||||
break;
|
||||
case FailureType_Failure_InvalidProtocol:
|
||||
text = _("Invalid protocol");
|
||||
break;
|
||||
case FailureType_Failure_FirmwareError:
|
||||
text = _("Firmware error");
|
||||
break;
|
||||
|
@ -10,7 +10,7 @@ SKIPPED_MESSAGES := Binance Cardano DebugMonero Eos Monero Ontology Ripple SdPro
|
||||
EthereumTypedDataValueRequest EthereumTypedDataValueAck ShowDeviceTutorial \
|
||||
UnlockBootloader AuthenticateDevice AuthenticityProof \
|
||||
Solana StellarClaimClaimableBalanceOp \
|
||||
ChangeLanguage TranslationDataRequest TranslationDataAck \
|
||||
ChangeLanguage TranslationDataRequest TranslationDataAck Thp \
|
||||
SetBrightness DebugLinkOptigaSetSecMax \
|
||||
BenchmarkListNames BenchmarkRun BenchmarkNames BenchmarkResult
|
||||
|
||||
|
@ -2,14 +2,19 @@ DebugLinkDecision.input max_size:33
|
||||
DebugLinkDecision.x type:FT_IGNORE
|
||||
DebugLinkDecision.y type:FT_IGNORE
|
||||
|
||||
DebugLinkState.layout max_size:1024
|
||||
DebugLinkState.pin max_size:51
|
||||
DebugLinkState.matrix max_size:10
|
||||
DebugLinkState.mnemonic_secret max_size:240
|
||||
DebugLinkState.reset_word max_size:12
|
||||
DebugLinkState.reset_entropy max_size:128
|
||||
DebugLinkState.recovery_fake_word max_size:12
|
||||
DebugLinkState.tokens type:FT_IGNORE
|
||||
DebugLinkGetState.thp_channel_id type:FT_IGNORE
|
||||
|
||||
DebugLinkState.layout max_size:1024
|
||||
DebugLinkState.pin max_size:51
|
||||
DebugLinkState.matrix max_size:10
|
||||
DebugLinkState.mnemonic_secret max_size:240
|
||||
DebugLinkState.reset_word max_size:12
|
||||
DebugLinkState.reset_entropy max_size:128
|
||||
DebugLinkState.recovery_fake_word max_size:12
|
||||
DebugLinkState.tokens type:FT_IGNORE
|
||||
DebugLinkState.thp_pairing_code_entry_code type:FT_IGNORE
|
||||
DebugLinkState.thp_pairing_code_qr_code type:FT_IGNORE
|
||||
DebugLinkState.thp_pairing_code_nfc_unidirectional type:FT_IGNORE
|
||||
|
||||
DebugLinkLog.bucket max_size:33
|
||||
DebugLinkLog.text max_size:256
|
||||
|
1
legacy/firmware/protob/messages-thp.proto
Symbolic link
1
legacy/firmware/protob/messages-thp.proto
Symbolic link
@ -0,0 +1 @@
|
||||
../../vendor/trezor-common/protob/messages-thp.proto
|
Loading…
Reference in New Issue
Block a user