danielhrisca / asammdf

Fast Python reader and editor for ASAM MDF / MF4 (Measurement Data Format) files
GNU Lesser General Public License v3.0
611 stars 216 forks source link

J1939 with mixed 29/11 bit ID fails #1008

Open hacklint opened 2 months ago

hacklint commented 2 months ago

Description

J1939 requires 29-bit CAN identifiers, but it still should allow traffic on same bus with 11-bit IDs. https://github.com/danielhrisca/asammdf/pull/997 contains a change that writes a warning instead of throwing an exception if there is a .dbc file containing mixed 29/11 bit IDs. A modified version of the CSS demo J1939 .dbc file is provided there as test data.