Skip to content

Support "no init access" feature of Kvaser interfaces #1955

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

Conversation

fl0gee
Copy link
Contributor

@fl0gee fl0gee commented Jul 17, 2025

The Kvaser CANlib SDK supports opening a channel without initializing it with defined bit rate, see:
https://kvaser.com/canlib-webhelp/canlib_8h.htm#a1d7dee5873b91fc267239dfaedf977df

This PR is adding a keyword argument to the KvaserBus for supporting this functionality.

@grooc
Copy link

grooc commented Jul 17, 2025

I would recommend adding a test for it in test/test_kvaser.py

I can look into it

@fl0gee
Copy link
Contributor Author

fl0gee commented Jul 17, 2025

I would recommend adding a test for it in test/test_kvaser.py

Agreed, thanks for pointing me to it. I've added a test case dedicated to this single keyword argument.

@fl0gee fl0gee force-pushed the feature/no-init-access-support-for-kvaser branch from dccbb22 to 2045ce7 Compare July 20, 2025 10:41
@zariiii9003 zariiii9003 merged commit c4808b7 into hardbyte:main Jul 21, 2025
28 checks passed
@fl0gee fl0gee deleted the feature/no-init-access-support-for-kvaser branch July 23, 2025 19:20
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.

3 participants