Open wallem89 opened 1 year ago
I have a pr for that in the can-dbc crate that would fix it when parsing: https://github.com/marcelbuesing/can-dbc/pull/15
Just saw @marcelbuesing wrote that this would be better done here. If you want to port the PR over here, I'd be happy to accept it :)
I have a DBC file which has non unique field names in an enumerated signal. Example:
I know this is a bit strange but all none used enums are set to reserved. I could delete them so that _Other is handling those but renaming would be done as for the enums starting with a non-alphabetic character .
From DBC:
For now my workaround is to rename the Reserved enums in the DBC-file:
Which will give me unique enums:
I could try to implement this myself and send in a PR but depends if you thinks this makes sense.