1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-16 04:49:08 +00:00
trezor-firmware/docs/transport_hid.rst

15 lines
428 B
ReStructuredText
Raw Normal View History

2014-08-21 17:04:10 +00:00
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.
2014-08-26 14:06:19 +00:00
.. autoclass:: trezorlib.transport_hid.HidTransport
2014-08-21 17:04:10 +00:00
:members:
:undoc-members: