From 272ad3089875bf9582c8bd96c261f55aa1b2f2ad Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 6 Feb 2018 16:07:41 +0100 Subject: [PATCH] messages: add new fields to Features --- trezorlib/messages/Features.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trezorlib/messages/Features.py b/trezorlib/messages/Features.py index 9e3406f..7d668af 100644 --- a/trezorlib/messages/Features.py +++ b/trezorlib/messages/Features.py @@ -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