parent
f5d2007297
commit
97522be434
@ -0,0 +1,7 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('DebugLinkFlashErase')
|
||||
t.wire_type = const(113)
|
||||
t.add_field(1, 'sector', p.UVarintType)
|
||||
DebugLinkFlashErase = t
|
@ -0,0 +1,7 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('DebugLinkMemory')
|
||||
t.wire_type = const(111)
|
||||
t.add_field(1, 'memory', p.BytesType)
|
||||
DebugLinkMemory = t
|
@ -0,0 +1,8 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('DebugLinkMemoryRead')
|
||||
t.wire_type = const(110)
|
||||
t.add_field(1, 'address', p.UVarintType)
|
||||
t.add_field(2, 'length', p.UVarintType)
|
||||
DebugLinkMemoryRead = t
|
@ -0,0 +1,9 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('DebugLinkMemoryWrite')
|
||||
t.wire_type = const(112)
|
||||
t.add_field(1, 'address', p.UVarintType)
|
||||
t.add_field(2, 'memory', p.BytesType)
|
||||
t.add_field(3, 'flash', p.BoolType)
|
||||
DebugLinkMemoryWrite = t
|
@ -0,0 +1,7 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('ECDHSessionKey')
|
||||
t.wire_type = const(62)
|
||||
t.add_field(1, 'session_key', p.BytesType)
|
||||
ECDHSessionKey = t
|
@ -0,0 +1,7 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('EthereumAddress')
|
||||
t.wire_type = const(57)
|
||||
t.add_field(1, 'address', p.BytesType, flags=p.FLAG_REQUIRED)
|
||||
EthereumAddress = t
|
@ -0,0 +1,8 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('EthereumGetAddress')
|
||||
t.wire_type = const(56)
|
||||
t.add_field(1, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
|
||||
t.add_field(2, 'show_display', p.BoolType)
|
||||
EthereumGetAddress = t
|
@ -0,0 +1,14 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('EthereumSignTx')
|
||||
t.wire_type = const(58)
|
||||
t.add_field(1, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
|
||||
t.add_field(2, 'nonce', p.BytesType)
|
||||
t.add_field(3, 'gas_price', p.BytesType)
|
||||
t.add_field(4, 'gas_limit', p.BytesType)
|
||||
t.add_field(5, 'to', p.BytesType)
|
||||
t.add_field(6, 'value', p.BytesType)
|
||||
t.add_field(7, 'data_initial_chunk', p.BytesType)
|
||||
t.add_field(8, 'data_length', p.UVarintType)
|
||||
EthereumSignTx = t
|
@ -0,0 +1,7 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('EthereumTxAck')
|
||||
t.wire_type = const(60)
|
||||
t.add_field(1, 'data_chunk', p.BytesType)
|
||||
EthereumTxAck = t
|
@ -0,0 +1,10 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('EthereumTxRequest')
|
||||
t.wire_type = const(59)
|
||||
t.add_field(1, 'data_length', p.UVarintType)
|
||||
t.add_field(2, 'signature_v', p.UVarintType)
|
||||
t.add_field(3, 'signature_r', p.BytesType)
|
||||
t.add_field(4, 'signature_s', p.BytesType)
|
||||
EthereumTxRequest = t
|
@ -0,0 +1,10 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
from .IdentityType import IdentityType
|
||||
t = p.MessageType('GetECDHSessionKey')
|
||||
t.wire_type = const(61)
|
||||
t.add_field(1, 'identity', p.EmbeddedMessage(IdentityType))
|
||||
t.add_field(2, 'peer_public_key', p.BytesType)
|
||||
t.add_field(3, 'ecdsa_curve_name', p.UnicodeType)
|
||||
GetECDHSessionKey = t
|
@ -1,3 +1,6 @@
|
||||
# Automatically generated by pb2py
|
||||
SPENDADDRESS = const(0)
|
||||
SPENDMULTISIG = const(1)
|
||||
SPENDMULTISIG = const(1)
|
||||
EXTERNAL = const(2)
|
||||
SPENDWITNESS = const(3)
|
||||
SPENDP2SHWITNESS = const(4)
|
@ -0,0 +1,7 @@
|
||||
# Automatically generated by pb2py
|
||||
import protobuf as p
|
||||
from micropython import const
|
||||
t = p.MessageType('SetU2FCounter')
|
||||
t.wire_type = const(63)
|
||||
t.add_field(1, 'u2f_counter', p.UVarintType)
|
||||
SetU2FCounter = t
|
@ -1,54 +1,66 @@
|
||||
WordRequest = 46
|
||||
ButtonAck = 27
|
||||
MessageSignature = 40
|
||||
Ping = 1
|
||||
EncryptedMessage = 50
|
||||
DebugLinkStop = 103
|
||||
EstimateTxSize = 43
|
||||
GetPublicKey = 11
|
||||
GetFeatures = 55
|
||||
PinMatrixRequest = 18
|
||||
ClearSession = 24
|
||||
LoadDevice = 13
|
||||
VerifyMessage = 39
|
||||
PassphraseRequest = 41
|
||||
TxAck = 22
|
||||
ChangePin = 4
|
||||
DebugLinkLog = 104
|
||||
FirmwareErase = 6
|
||||
TxRequest = 21
|
||||
DebugLinkState = 102
|
||||
FirmwareUpload = 7
|
||||
SignedIdentity = 54
|
||||
Failure = 3
|
||||
EntropyRequest = 35
|
||||
ApplySettings = 25
|
||||
Address = 30
|
||||
Initialize = 0
|
||||
PinMatrixAck = 19
|
||||
SignTx = 15
|
||||
DebugLinkGetState = 101
|
||||
Success = 2
|
||||
ResetDevice = 14
|
||||
WordAck = 47
|
||||
SimpleSignTx = 16
|
||||
GetAddress = 29
|
||||
RecoveryDevice = 45
|
||||
PassphraseAck = 42
|
||||
SignMessage = 38
|
||||
DecryptedMessage = 52
|
||||
DecryptMessage = 51
|
||||
GetEntropy = 9
|
||||
EntropyAck = 36
|
||||
WipeDevice = 5
|
||||
CipherKeyValue = 23
|
||||
Features = 17
|
||||
TxSize = 44
|
||||
SignIdentity = 53
|
||||
DebugLinkDecision = 100
|
||||
CipheredKeyValue = 48
|
||||
ButtonRequest = 26
|
||||
PublicKey = 12
|
||||
Entropy = 10
|
||||
Cancel = 20
|
||||
EncryptMessage = 49
|
||||
WordRequest = const(46)
|
||||
DebugLinkMemoryWrite = const(112)
|
||||
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)
|
||||
ChangePin = const(4)
|
||||
DebugLinkLog = const(104)
|
||||
FirmwareErase = const(6)
|
||||
TxRequest = const(21)
|
||||
EthereumGetAddress = const(56)
|
||||
DebugLinkState = const(102)
|
||||
EthereumTxRequest = const(59)
|
||||
FirmwareUpload = const(7)
|
||||
SignedIdentity = const(54)
|
||||
Failure = const(3)
|
||||
EntropyRequest = const(35)
|
||||
ApplySettings = const(25)
|
||||
DebugLinkFlashErase = const(113)
|
||||
Address = const(30)
|
||||
Initialize = const(0)
|
||||
PinMatrixAck = const(19)
|
||||
SetU2FCounter = const(63)
|
||||
SignTx = const(15)
|
||||
DebugLinkGetState = const(101)
|
||||
Success = const(2)
|
||||
ResetDevice = const(14)
|
||||
WordAck = const(47)
|
||||
SimpleSignTx = const(16)
|
||||
GetAddress = const(29)
|
||||
TxSize = const(44)
|
||||
PassphraseAck = const(42)
|
||||
SignMessage = const(38)
|
||||
DecryptedMessage = const(52)
|
||||
DecryptMessage = const(51)
|
||||
GetEntropy = const(9)
|
||||
EntropyAck = const(36)
|
||||
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)
|
||||
|
Loading…
Reference in new issue