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
1 changed files with 4 additions and 0 deletions

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