-
Notifications
You must be signed in to change notification settings - Fork 6
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
listener example is now 29-bit CANID aware #18
Conversation
Hi @JLPLabs, this is very helpful! Thanks! I would propose a small modification to your code, because there's already a field for the EFF in the IEEE1722 Header. It can be accessed like this:
This way it's possible to retain the extended format for CAN IDs <= 0x7FF if the EFF flag is set. Additionally it might be useful to print a warning if the EFF flag is not set, but a CAN ID > 0x7FF is used. What do you think? Regards, |
Adriaan, -John |
Hi John, looks great! I'm going to merge your code tomorrow after doing a small test. |
Adriaan, NOTE PLEASE LET ME KNOW: This last change can be summarized as:
|
Hi John, I think it's a good idea to support having multiple CAN frames transported in a single Ethernet frame. But let's separate this from the original PR for now, so that I can merge the code related to the CAN IDs first. I've created issue #20 to discuss transmission of aggregated CAN frame separately. We should do this in another PR. Regards, |
@JLPLabs can you either undo your last commit or create a new PR? I'd like to merge your code regarding the 29bit CAN-ID. |
modified the behavior of the example/acf-can-listener such that: