1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 09:38:08 +00:00
trezor-firmware/docs/transport_hid.rst
2014-08-26 14:06:19 +00:00

15 lines
428 B
ReStructuredText

Transport via USB HID
--------------
To get a list of TREZORs that are currently plugged into our computer, we use the enumerate method.
.. code-block:: python
import trezorlib.transport_hid
list_of_trezor_devices = trezorlib.transport_hid.enumerate()
We can now interact with our TREZORs by creating a :doc:`TrezorClient <client>` object.
.. autoclass:: trezorlib.transport_hid.HidTransport
:members:
:undoc-members: