-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
DBC files don't follow the spec #151
Comments
BTW, As I understood, some comments are used to preprocess files (e.g. Regards, P.S. Also please note that |
@msalau , thanks, I agree that dbc files should be changed to follow a standard. It's not high priority for us to fix it now, but fell free to open a PR to address some/all the inconsistencies you see and we'll merge it in. |
I also get error messages when I try to open vw_mqb_2010.dbc , may someone would like to fix this as a Christmas gift? :o) EDIT: Must be something in the data block starting from line 1237 (BO_ 780 ACC_02: 8 XXX) and the block from line 1310 (CM_ SG_ 173 COUNTERXX "Message not renamed to COUNTER because J533 rate-limiting makes it look like messages are being lost") ... |
Hello,
I tried to open the DBC files from the repo with CANdb++ Editor (the original tool used to create such files) and it fails.
The reason for this is that the files (or the generator) don't follow the spec.
Most of parsers found on Internet don't enforce order of statements in DBC files, but the original editor does.
The spec is not disclosed officially, so most of information is gathered through reverse engineering.
I know of 2 parsers that do enforce ordering of sections like the original editor does:
The second one is mine, so I can help with it.
The original DBC parser expects the following ordering (all the sectional are optional if not stated otherwise):
Sections may not mix.
There are few more sections not listed here, but their use is less widespread.
Hope that helps.
Regards,
Maksim
The text was updated successfully, but these errors were encountered: