Skip to content

The gs_usb interface support #905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add documentation for gs_usb interface
  • Loading branch information
jxltom committed Oct 22, 2020
commit 9f7b60a72fb89b19cbb93e125b46ca8cdc45917d
1 change: 1 addition & 0 deletions doc/interfaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The available interfaces are:
interfaces/canalystii
interfaces/systec
interfaces/seeedstudio
interfaces/gs_usb

Additional interfaces can be added via a plugin interface. An external package
can register a new interface by using the ``can.interface`` entry point in its setup.py.
Expand Down
29 changes: 29 additions & 0 deletions doc/interfaces/gs_usb.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.. _gs_usb:

CAN driver based on WCID for Geschwister Schneider USB/CAN devices and bytewerk.org candleLight USB CAN interfaces
========================

Windows/Linux/Mac CAN driver based on WCID for Geschwister Schneider USB/CAN devices and candleLight USB CAN interfaces.

Install: ``pip install "python-can[gs_usb]"``
Usage: pass ``bus`` and ``address`` to open the device. The parameters can be got by ``pyusb``


Supported devices
-----------------

Geschwister Schneider USB/CAN devices and bytewerk.org candleLight USB CAN interfaces such as candleLight, canable, cantact, etc.


Supported platform
------------------

Windows, Linux and Mac.

Note: Since ``pyusb``` is used, ``libusb-win32`` usb driver is required to install in Windows

Bus
---

.. autoclass:: can.interfaces.gs_usb.GsUsbBus
:members: