-
Notifications
You must be signed in to change notification settings - Fork 26
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
Startbit position > 255 #7
Comments
Hi, this isn't very standard, is it? A |
Is this CAN FD related? Because I would definitely like to support CAN FD, but need to look into it in more detail. |
Sorry for any confusion, I'm fairly new to CAN. |
@EFeru Yes I found this issue as well. This is due to the J1939/21 transport layer protocol that has the ability to send more than 8 databytes per message through the use of multiple packets. Just looking at the signals column the highest bitpos value in my J1939 .dbc is 1584 (see attached) This is because it's tied to the Ignitor Loop Information which is part of the J1939 standard with a CAN ID of 486349310 and a PGN of 64793. This specific CAN ID has 200 bytes of data i.e 25 CAN packets are sent to complete the message you can see the CAN ID in my database below In theory if the bitpos is increased to a 16-bit unsigned short instead of an 8-bit unsigned byte it should be fine being able to read .j1939 dbc files. (see the errors thrown below)
|
@EFeru @Adhara3 @hakwes I recommend checking out this link if you want to know more: |
I can confirm after making local changes from |
@taylorjdlee Thank you for the link and the explanation! So to support J1939 multiple packets, a new packer class would have to be implemented? |
Hi @taylojdlee, I will check and make the update for the next release. Thanks for all the input. |
I have the same question, in J1939.dbc, there are many message length large than 255 bit, like ILI message. I can fix it in the local version, but I still hope the nuget version can support J1939.dbc. |
Hi!
I have a DBC file with a message with a "large" dlc and with a signal that has startbit 256
This can not be loaded by the library.
Any plans of supporting this?
The text was updated successfully, but these errors were encountered: