mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-06 23:02:33 +00:00
17 lines
522 B
Python
17 lines
522 B
Python
# Automatically generated by pb2py
|
|
from micropython import const
|
|
|
|
import protobuf as p
|
|
|
|
class ResetDevice(p.MessageType):
|
|
FIELDS = {
|
|
1: ('display_random', p.BoolType, 0),
|
|
2: ('strength', p.UVarintType, 0), # default=256
|
|
3: ('passphrase_protection', p.BoolType, 0),
|
|
4: ('pin_protection', p.BoolType, 0),
|
|
5: ('language', p.UnicodeType, 0), # default=u'english'
|
|
6: ('label', p.UnicodeType, 0),
|
|
7: ('u2f_counter', p.UVarintType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 14
|