1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 06:18:07 +00:00
trezor-firmware/src/trezor/messages/Ping.py

13 lines
322 B
Python
Raw Normal View History

2016-05-03 16:28:58 +00:00
# Automatically generated by pb2py
2016-09-28 16:01:23 +00:00
import protobuf as p
2016-10-26 15:32:28 +00:00
2017-06-13 17:35:14 +00:00
2016-10-26 15:32:28 +00:00
class Ping(p.MessageType):
FIELDS = {
1: ('message', p.UnicodeType, 0),
2: ('button_protection', p.BoolType, 0),
3: ('pin_protection', p.BoolType, 0),
4: ('passphrase_protection', p.BoolType, 0),
}
MESSAGE_WIRE_TYPE = 1