parent
bab1303b1b
commit
fe5b5c1940
@ -0,0 +1,9 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
|
||||
|
||||
class ApplyFlags(p.MessageType):
|
||||
FIELDS = {
|
||||
1: ('flags', p.UVarintType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 28
|
@ -0,0 +1,6 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
|
||||
|
||||
class BackupDevice(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 34
|
@ -0,0 +1,10 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
|
||||
|
||||
class EthereumMessageSignature(p.MessageType):
|
||||
FIELDS = {
|
||||
1: ('address', p.BytesType, 0),
|
||||
2: ('signature', p.BytesType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 66
|
@ -0,0 +1,10 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
|
||||
|
||||
class EthereumSignMessage(p.MessageType):
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('message', p.BytesType, 0), # required
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 64
|
@ -0,0 +1,11 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
|
||||
|
||||
class EthereumVerifyMessage(p.MessageType):
|
||||
FIELDS = {
|
||||
1: ('address', p.BytesType, 0),
|
||||
2: ('signature', p.BytesType, 0),
|
||||
3: ('message', p.BytesType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 65
|
@ -0,0 +1,9 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
|
||||
|
||||
class SelfTest(p.MessageType):
|
||||
FIELDS = {
|
||||
1: ('payload', p.BytesType, 0),
|
||||
}
|
||||
MESSAGE_WIRE_TYPE = 32
|
@ -1,70 +1,76 @@
|
||||
# Automatically generated by pb2py
|
||||
from micropython import const
|
||||
|
||||
WordRequest = const(46)
|
||||
DebugLinkMemoryWrite = const(112)
|
||||
Address = const(30)
|
||||
ApplyFlags = const(28)
|
||||
ApplySettings = const(25)
|
||||
BackupDevice = const(34)
|
||||
ButtonAck = const(27)
|
||||
MessageSignature = const(40)
|
||||
EthereumAddress = const(57)
|
||||
EthereumTxAck = const(60)
|
||||
Ping = const(1)
|
||||
EncryptedMessage = const(50)
|
||||
DebugLinkStop = const(103)
|
||||
EstimateTxSize = const(43)
|
||||
GetPublicKey = const(11)
|
||||
GetFeatures = const(55)
|
||||
GetECDHSessionKey = const(61)
|
||||
PinMatrixRequest = const(18)
|
||||
ClearSession = const(24)
|
||||
LoadDevice = const(13)
|
||||
VerifyMessage = const(39)
|
||||
EthereumSignTx = const(58)
|
||||
PassphraseRequest = const(41)
|
||||
TxAck = const(22)
|
||||
ButtonRequest = const(26)
|
||||
Cancel = const(20)
|
||||
ChangePin = const(4)
|
||||
CipherKeyValue = const(23)
|
||||
CipheredKeyValue = const(48)
|
||||
ClearSession = const(24)
|
||||
DebugLinkDecision = const(100)
|
||||
DebugLinkFlashErase = const(113)
|
||||
DebugLinkGetState = const(101)
|
||||
DebugLinkLog = const(104)
|
||||
FirmwareErase = const(6)
|
||||
TxRequest = const(21)
|
||||
EthereumGetAddress = const(56)
|
||||
DebugLinkMemory = const(111)
|
||||
DebugLinkMemoryRead = const(110)
|
||||
DebugLinkMemoryWrite = const(112)
|
||||
DebugLinkState = const(102)
|
||||
DebugLinkStop = const(103)
|
||||
DecryptMessage = const(51)
|
||||
DecryptedMessage = const(52)
|
||||
ECDHSessionKey = const(62)
|
||||
EncryptMessage = const(49)
|
||||
EncryptedMessage = const(50)
|
||||
Entropy = const(10)
|
||||
EntropyAck = const(36)
|
||||
EntropyRequest = const(35)
|
||||
EstimateTxSize = const(43)
|
||||
EthereumAddress = const(57)
|
||||
EthereumGetAddress = const(56)
|
||||
EthereumMessageSignature = const(66)
|
||||
EthereumSignMessage = const(64)
|
||||
EthereumSignTx = const(58)
|
||||
EthereumTxAck = const(60)
|
||||
EthereumTxRequest = const(59)
|
||||
FirmwareUpload = const(7)
|
||||
SignedIdentity = const(54)
|
||||
EthereumVerifyMessage = const(65)
|
||||
Failure = const(3)
|
||||
EntropyRequest = const(35)
|
||||
ApplySettings = const(25)
|
||||
DebugLinkFlashErase = const(113)
|
||||
Address = const(30)
|
||||
Features = const(17)
|
||||
FirmwareErase = const(6)
|
||||
FirmwareRequest = const(8)
|
||||
FirmwareUpload = const(7)
|
||||
GetAddress = const(29)
|
||||
GetECDHSessionKey = const(61)
|
||||
GetEntropy = const(9)
|
||||
GetFeatures = const(55)
|
||||
GetPublicKey = const(11)
|
||||
Initialize = const(0)
|
||||
LoadDevice = const(13)
|
||||
MessageSignature = const(40)
|
||||
PassphraseAck = const(42)
|
||||
PassphraseRequest = const(41)
|
||||
PinMatrixAck = const(19)
|
||||
PinMatrixRequest = const(18)
|
||||
Ping = const(1)
|
||||
PublicKey = const(12)
|
||||
RecoveryDevice = const(45)
|
||||
ResetDevice = const(14)
|
||||
SelfTest = const(32)
|
||||
SetU2FCounter = const(63)
|
||||
SignIdentity = const(53)
|
||||
SignMessage = const(38)
|
||||
SignTx = const(15)
|
||||
DebugLinkGetState = const(101)
|
||||
FirmwareRequest = const(8)
|
||||
Success = const(2)
|
||||
ResetDevice = const(14)
|
||||
WordAck = const(47)
|
||||
SignedIdentity = const(54)
|
||||
SimpleSignTx = const(16)
|
||||
GetAddress = const(29)
|
||||
Success = const(2)
|
||||
TxAck = const(22)
|
||||
TxRequest = const(21)
|
||||
TxSize = const(44)
|
||||
PassphraseAck = const(42)
|
||||
SignMessage = const(38)
|
||||
DecryptedMessage = const(52)
|
||||
DecryptMessage = const(51)
|
||||
GetEntropy = const(9)
|
||||
EntropyAck = const(36)
|
||||
VerifyMessage = const(39)
|
||||
WipeDevice = const(5)
|
||||
CipherKeyValue = const(23)
|
||||
Features = const(17)
|
||||
RecoveryDevice = const(45)
|
||||
SignIdentity = const(53)
|
||||
DebugLinkDecision = const(100)
|
||||
CipheredKeyValue = const(48)
|
||||
ButtonRequest = const(26)
|
||||
PublicKey = const(12)
|
||||
DebugLinkMemory = const(111)
|
||||
Entropy = const(10)
|
||||
Cancel = const(20)
|
||||
DebugLinkMemoryRead = const(110)
|
||||
EncryptMessage = const(49)
|
||||
ECDHSessionKey = const(62)
|
||||
WordAck = const(47)
|
||||
WordRequest = const(46)
|
||||
|
Loading…
Reference in new issue