-
Notifications
You must be signed in to change notification settings - Fork 641
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
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c31b5ba
Add gs_usb support
jxltom 6972ab8
Enable gs_usb in interface list
jxltom ab9d4a3
Add install requires for gs_usb interface
jxltom 9f7b60a
Add documentation for gs_usb interface
jxltom 470c50e
Reformat code by black
jxltom 80f8a9f
Remove additional comment since float is actually accepted as timeout
jxltom c4ccdd0
Pass can message fields as named arguments
jxltom 74e3272
Update docs for complete setup for a first time user
jxltom ad49fca
Update can/interfaces/gs_usb.py
jxltom 52b53b2
Catch usb error and re-raise as CanError
jxltom 5565e2b
Add logging for future use
jxltom e90535a
Update docs for expected behavior for send method
jxltom 676dd7c
Add supplementary info on gs_usb
jxltom ec5740a
Reformat code by black
jxltom 751dfa4
Fix bug where msg is referenced befor assignment
jxltom 17f05d7
Merge branch 'develop' into feature/gs-usb-support
hardbyte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add documentation for gs_usb interface
- Loading branch information
commit 9f7b60a72fb89b19cbb93e125b46ca8cdc45917d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.