Skip to content

Commit 9f7b60a

Browse files
committed
Add documentation for gs_usb interface
1 parent ab9d4a3 commit 9f7b60a

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

doc/interfaces.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ The available interfaces are:
2727
interfaces/canalystii
2828
interfaces/systec
2929
interfaces/seeedstudio
30+
interfaces/gs_usb
3031

3132
Additional interfaces can be added via a plugin interface. An external package
3233
can register a new interface by using the ``can.interface`` entry point in its setup.py.

doc/interfaces/gs_usb.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. _gs_usb:
2+
3+
CAN driver based on WCID for Geschwister Schneider USB/CAN devices and bytewerk.org candleLight USB CAN interfaces
4+
========================
5+
6+
Windows/Linux/Mac CAN driver based on WCID for Geschwister Schneider USB/CAN devices and candleLight USB CAN interfaces.
7+
8+
Install: ``pip install "python-can[gs_usb]"``
9+
Usage: pass ``bus`` and ``address`` to open the device. The parameters can be got by ``pyusb``
10+
11+
12+
Supported devices
13+
-----------------
14+
15+
Geschwister Schneider USB/CAN devices and bytewerk.org candleLight USB CAN interfaces such as candleLight, canable, cantact, etc.
16+
17+
18+
Supported platform
19+
------------------
20+
21+
Windows, Linux and Mac.
22+
23+
Note: Since ``pyusb``` is used, ``libusb-win32`` usb driver is required to install in Windows
24+
25+
Bus
26+
---
27+
28+
.. autoclass:: can.interfaces.gs_usb.GsUsbBus
29+
:members:

0 commit comments

Comments
 (0)