Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add additional device support and capability query#9

Merged
jxltom merged 3 commits intojxltom:masterfrom
BennyEvans:master
Aug 29, 2022
Merged

Add additional device support and capability query#9
jxltom merged 3 commits intojxltom:masterfrom
BennyEvans:master

Conversation

@BennyEvans
Copy link
Contributor

This PR adds support for additional devices by VID/PID as listed in the current linux kernel driver.

Device capabilities are now queried and only device and driver supported features can be set. This also queries for the device clock so that CAN bit timing settings are set correctly based on the specific device clock. My plan is to create another PR in the future that automatically calulates the best bit timing for a device given it's capability. I currently have a script to do this, but it needs some cleaning up.

Just for transparency, I am the developer of the ABE CAN Debugger, but this device is still being actively developed.

Let me know if you have any thoughts or suggestions. I'm happy to work with you on this. Additional testing would also be great.

Cheers,
Ben

@jxltom jxltom merged commit 64c6014 into jxltom:master Aug 29, 2022
@jxltom
Copy link
Owner

jxltom commented Aug 29, 2022

This is nice, thanks for the effort!

@BennyEvans
Copy link
Contributor Author

Thanks @jxltom

Is there anything that needs to be done to push these changes to pypi as a release or will that happen automatically? I've not done it before so am unsure.

@jxltom
Copy link
Owner

jxltom commented Aug 30, 2022

@BennyEvans usually I will release it manually and now v0.3.0 is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants