Support for CAN-Fd

Issue #17 resolved
Former user created an issue

Hi - I am working on a project where I need to decode messages from a CAN bus over SocketCAN interface on a Raspberry Pi. Something very similar is done https://github.com/Ingimarsson/can-mqtt-bridge/blob/master/can-mqtt-bridge.cpp And the above uses this Vector DBC library, but it's using if for CAN messages. I wanted to know if there are any limitations withing this decoding if I need to use it for CAN-FD.

Appreciate your help. If there are changes required can you please point me to where they would be so I could look into adding them for my project v/s starting from scratch.

Appreciate your help.

Mohammed.

Comments (3)

  1. Tobias Lorenz repo owner

    Hi Mohammed,

    sorry for the delay.

    Sure the library works for CAN-FD. CAN-FD doesn’t change anything in the general syntax of a CANDB, but only uses specific attributes. But you need to take these attributes into account for decoding messages.

    Bye

    Tobias

  2. Log in to comment