1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

messages: add new fields to Features

This commit is contained in:
Pavol Rusnak 2018-02-06 16:07:41 +01:00
parent e9705c8208
commit 272ad30898
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -27,5 +27,9 @@ class Features(p.MessageType):
19: ('needs_backup', p.BoolType, 0),
20: ('flags', p.UVarintType, 0),
21: ('model', p.UnicodeType, 0),
22: ('fw_major', p.UVarintType, 0),
23: ('fw_minor', p.UVarintType, 0),
24: ('fw_patch', p.UVarintType, 0),
25: ('fw_vendor', p.UnicodeType, 0),
}
MESSAGE_WIRE_TYPE = 17