1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-25 18:28:47 +00:00
trezor-firmware/python/src/trezorlib/transport
matejcik 9a330f3475 python: unify protobuf-encoding code paths
Protobuf encoding now happens in TrezorClient, and transports get encoded blobs
to (chunkify and) send.  This is a better design because transports don't need
to know about protobuf.

It also lays groundwork for sending raw bytes feature (#116)

This commit also removes all vestiges of ProtocolV2 which was never used and
will probably need to be redesigned from the ground up anyway. The code is
still ready for protocol flexibility.
2020-03-26 11:30:06 +01:00
..
__init__.py python: unify protobuf-encoding code paths 2020-03-26 11:30:06 +01:00
bridge.py python: unify protobuf-encoding code paths 2020-03-26 11:30:06 +01:00
hid.py python: unify protobuf-encoding code paths 2020-03-26 11:30:06 +01:00
protocol.py python: unify protobuf-encoding code paths 2020-03-26 11:30:06 +01:00
udp.py python: unify protobuf-encoding code paths 2020-03-26 11:30:06 +01:00
webusb.py python: unify protobuf-encoding code paths 2020-03-26 11:30:06 +01:00