What are DBC files

Example

BO_ 342 STEERING_SENSORS: 6 EPS

SG_ STEER_ANGLE : 7|16@0- (-0.1,0) [-500|500] “deg” EON

  • SG_ STEER_ANGLE A description of a signal.
  • 7|16: This signal starts at bit position 7, and the size is 16 bits. 16 bits is common for a steering angle. Here is what this looks like in cabana’s bit view:
16 bit value, starting at position 7 — 7|16
Big Endian
Little Endian
  • @0-: 0 indicates that the signal is big-endian (it would be 1 for little-endian), and signed (+ indicates an unsigned value). Honda values all have big endianness.
Example of big endian bit position numbering, the highlighted value would be 3|4@0+
  • [-500|500]: Min and Max, 0|0 is unset.
  • “deg”: Units, in this case, it is degrees.

Hex

Binary

Displayed in cabana

Cabana makes it easy to visualize a DBC file
Viewing car’s steering angle with DBC + Cabana
Viewing steering angle and blinker with Cabana

--

--

--

engineer, hacker, early-adopter https://github.com/energee https://energ.ee

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ted Slesinski

Ted Slesinski

engineer, hacker, early-adopter https://github.com/energee https://energ.ee

More from Medium

Extremely Easy Security — Learn Cyber Threats & Attacks in Plain English (1.1 Part 2)

Basics of Assembly language : Part 3

Update to Log4shell Detection With Falco

Software Reverse Engineering: Diffusing Phase 6