You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-trezor/docs/transport_hid.rst

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: