Skip to content
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

add silent mode support for vector #1764

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cperkulator
Copy link

haven't tested on hardware yet

@@ -204,6 +204,8 @@ def __init__(
self.channel_masks: Dict[int, int] = {}
self.index_to_channel: Dict[int, int] = {}
self._can_protocol = CanProtocol.CAN_FD if is_fd else CanProtocol.CAN_20

self.silent_mode = kwargs.get('silent_mode', False)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer listen_only like in socketcan. Also, make this variable private.

@zariiii9003
Copy link
Collaborator

Are you still working on the failing tests?

@cperkulator
Copy link
Author

@zariiii9003 looks like tests are passing except one that is known to periodically fail

Copy link
Collaborator

@zariiii9003 zariiii9003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you

@cperkulator
Copy link
Author

@zariiii9003 is this ready to get merged in?

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.

None yet

2 participants