mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-03 21:18:17 +00:00
test(core): fix thp test on various models of trezor
[no changelog]
This commit is contained in:
parent
a29f21b2be
commit
ac03e084fb
@ -57,8 +57,9 @@ if utils.USE_THP:
|
||||
gen.send(None)
|
||||
gen.send(cid_req)
|
||||
gen.send(None)
|
||||
model = bytes(utils.INTERNAL_MODEL, "big")
|
||||
response_data = (
|
||||
b"\x0a\x04\x54\x32\x54\x31\x10\x00\x18\x00\x20\x02\x28\x02\x28\x03\x28\x04"
|
||||
b"\x0a\x04" + model + "\x10\x00\x18\x00\x20\x02\x28\x02\x28\x03\x28\x04"
|
||||
)
|
||||
response_without_crc = (
|
||||
b"\x41\xff\xff\x00\x20"
|
||||
|
Loading…
Reference in New Issue
Block a user