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

Trouble Applying Filters to Bus with Vector Interface #1885

Open
PyCoder9595 opened this issue Nov 1, 2024 · 4 comments
Open

Trouble Applying Filters to Bus with Vector Interface #1885

PyCoder9595 opened this issue Nov 1, 2024 · 4 comments

Comments

@PyCoder9595
Copy link

Attempting to filter bus to receive single PGN with vector interface. Filter is applied but still receiving other IDs when calling recv(). Not sure if issue with filter or bus declaration.

recv output with filter
Filter and bus declaration

@zariiii9003
Copy link
Collaborator

Try this:

filters = [{'can_id': 0xfff, 'can_mask': 0xfff, 'extended': False}, {'can_id': 0x18daf9aa, 'can_mask': 0x1fffffff, 'extended': True}]

@PyCoder9595
Copy link
Author

PyCoder9595 commented Nov 4, 2024 via email

@PyCoder9595
Copy link
Author

Currently this is being tested with Vector CAN case 1640A.

@phospho666
Copy link

Hi, I add the same issue with an MCP2515 controler, in my case, the filter was applied after the receive buffer so when reading, I was receiving old messages stored in the buffer before the filters were applied.

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

No branches or pull requests

3 participants