tarfu / gv70-tools

5 stars 0 forks source link

Rework DBC File #2

Open tarfu opened 1 year ago

tarfu commented 1 year ago

The DBC File might need rework as the wrong bit addressing might was used.

More on addressing: https://docs.openvehicles.com/en/stable/components/vehicle_dbc/docs/dbc-primer.html https://www.csselectronics.com/pages/can-dbc-file-database-intro

Maybe write a converter from the torque csv. Which message a pid is corresponds to the Header in the csv can be used. For which response the signal is (so the multiplex value) can be derived from the last 3 bytes of ModeAndPID as it is the value in decimal.