can-dbc
can-dbc copied to clipboard
Rust dbc parser
Hi, just curious as to your reasoning for choosing vectors over hash-maps for the organization of the members of the DBC struct. I was also curious if you planned on...
This is a continuation of https://github.com/marcelbuesing/can-dbc/pull/10. In dbc files the information whether a message is an extended frame or standard frame is encoded in bit 31 of the message ID....
As already mentioned in other pull requests, utility methods for working with MessageId would be quite nice. So, here is a very very simple implementation. That doesn't brake backwards compatibility.
hi, thanks for the work so far. for extended 29-bit CAN IDs a [mask](https://www.csselectronics.com/pages/can-dbc-file-database-intro) needs to be applied.
Are there any plans to add CAN frame parsing to this crate? Maybe something similar to your [CANutils](https://github.com/marcelbuesing/canutils-rs) CLI but for use as a library? I'm happy to help with...
Per http://mcu.so/Microcontroller/Automotive/dbc-file-format-documentation_compress.pdf ``` DBC-Keyword = 'VERSION' | 'NS_' | 'NS_DESC_' | 'CM_' | 'BA_DEF_' | 'BA_' | 'VAL_' | 'CAT_DEF_' | 'CAT_' | 'FILTER' | 'BA_DEF_DEF_' | 'EV_DATA_' | 'ENVVAR_DATA_'...
* Use plural for enum describing a value descriptions statement * Use same spelling for value for a single value description * Use descriptive names for fields of a value...
I'm wondering is there any specific reason going by [float](https://github.com/marcelbuesing/can-dbc/blob/3e41b6de9b6bd9459a1ea65458ecda35eef9f9fb/src/parser.rs#L1220-L1227) as the only option besides string when parsing default attribute?
Hi! I have a dbc with this line in it: VAL_ 123456 Name 14 "Error" 0 "Normal" 1 "Low" 2 "Too low" 3 "High" 4 "Reserved" 5 "Reserved" 6 "Reserved"...
Hey Marcel, I forked your repo initially to add the ability to read in multiple DBCs, merge them, and write the output. Eventually I need a solution to also be...