Skip to content

python-can library has problems reading messages with arbitration id (10 digits), and of type extended can #1493

Answered by masoomk87
masoomk87 asked this question in Q&A
Discussion options

You must be logged in to vote

I found that in the CAN blf reader module - https://python-can.readthedocs.io/en/master/_modules/can/io/blf.html, the can arbitration ID is define below

Implementing the same in the code solved the issue. I am not sure why the 0x1FFFFFFF, are AND with CAN arbitration ID

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@j-c-cook
Comment options

Comment options

You must be logged in to vote
1 reply
@grant-allan-ctct
Comment options

Answer selected by masoomk87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants