enables operation with 11-bit CAN messages by DaveP987 · Pull Request #20 · milhead2/python-j1939 · GitHub
Skip to content

enables operation with 11-bit CAN messages#20

Open
DaveP987 wants to merge 3 commits into
milhead2:masterfrom
DaveP987:master
Open

enables operation with 11-bit CAN messages#20
DaveP987 wants to merge 3 commits into
milhead2:masterfrom
DaveP987:master

Conversation

@DaveP987

@DaveP987 DaveP987 commented Sep 2, 2022

Copy link
Copy Markdown

fixes #18

Introduces a new strict parameter to Bus that specifies whether to operate strictly on J1939 messages or J1939 and 11-bit CAN messages. strict=True by default to maintain the current behavior.

Handling of PDU vs non-PDU messages is broken out into separate methods.

So far, this seems to work fine for me as a simple drop-in replacement for can.interface.Bus using existing 11-bit messaging.

@DaveP987

Copy link
Copy Markdown
Author

@milhead2

Copy link
Copy Markdown
Owner

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.

compatibility with 11-bit CAN messaging

2 participants