You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a demo J1939 DBC file from CSSElectronics.
Here is the example I am testing dbcppp with
BO_ 2364540158 EEC1: 8 Vector__XXX
> cansend vcan0 0CF00400#FFFFFF6813FFFFFF
I notice the DBC ID is 32bits (2364540158) and CAN ID is 29bits (217056256), and due to same, the example from the README.md fails to find a match.
receive_frame_data(&frame);
auto iter = messages.find(frame.can_id);
if (iter != messages.end())
Please note from above image, CAN ID is different from DBC ID for the same PGN.
I face the similar behaviours in cantools.
Could you suggest me how to handle the above. Having a separate function to convert CAN ID to DBC ID is 1 way I could think of, but I am not sure how to do that.
Would like to know your thoughts.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi,
I am using a demo J1939 DBC file from CSSElectronics.
Here is the example I am testing dbcppp with
> cansend vcan0 0CF00400#FFFFFF6813FFFFFF
I notice the DBC ID is 32bits (2364540158) and CAN ID is 29bits (217056256), and due to same, the example from the README.md fails to find a match.
Please note from above image, CAN ID is different from DBC ID for the same PGN.
I face the similar behaviours in cantools.
Could you suggest me how to handle the above. Having a separate function to convert CAN ID to DBC ID is 1 way I could think of, but I am not sure how to do that.
Would like to know your thoughts.
Thanks in advance.
The text was updated successfully, but these errors were encountered: