1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-06 23:02:33 +00:00
trezor-firmware/src/trezor/messages/DebugLinkMemoryRead.py
2018-02-26 16:13:00 +01:00

21 lines
454 B
Python

# Automatically generated by pb2py
import protobuf as p
class DebugLinkMemoryRead(p.MessageType):
FIELDS = {
1: ('address', p.UVarintType, 0),
2: ('length', p.UVarintType, 0),
}
MESSAGE_WIRE_TYPE = 110
def __init__(
self,
address: int = None,
length: int = None,
**kwargs,
):
self.address = address
self.length = length
p.MessageType.__init__(self, **kwargs)