Skip to content

Commit

Permalink
manual: hwgrep is the preferred way of specifying a serial device
Browse files Browse the repository at this point in the history
fallen committed Jun 23, 2015
1 parent 7821d0f commit f0dddd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/manual/faq.rst
Original file line number Diff line number Diff line change
@@ -89,4 +89,8 @@ feature of pyserial
`serial_for_url() <http://pyserial.sourceforge.net/pyserial_api.html#serial.serial_for_url>`_
in order to open a serial device.

The preferred way to specify a serial device is to make use of the ``hwgrep://``
URL: it allows to select the serial device by its USB vendor ID, product
ID and/or serial number. Those never change, unlike the device file name.

See the :ref:`TDC001 documentation <tdc001-controller-usage-example>` for an example of ``hwgrep://`` usage.

0 comments on commit f0dddd9

Please sign in to comment.