marcelbuesing / can-dbc

Rust dbc parser
MIT License
59 stars 22 forks source link

Add support for dbcs with extended multiplex messages #8

Closed pbert519 closed 2 years ago

pbert519 commented 2 years ago

Parsing a DBC file with extendend multiplexing (multiple and possibly nested multiplexors per message) results currently in a partly parsed file. Extended Multiplexing is described here: https://cdn.vector.com/cms/content/know-how/_application-notes/AN-ION-1-0521_Extended_Signal_Multiplexing.pdf

I added support, but the message_multiplexor_switch function makes no sense for multiplexed messages. Any suggestions how to handle that?

marcelbuesing commented 2 years ago

Hey thanks for bearing with me. This looks really great. Also thank you for adding the reference to the documentation I was not even aware this is possible. Lets figure out the best option for this one question. I'll merge afterwards and release a new version.

marcelbuesing commented 2 years ago

Thanks so much again. I just tagged and released 5.0.0 containing the changes.