The files with .dbc extension are also known as CAN database files. The DBC file is a simple text file that consists of information for decoding raw CAN bus data to physical values or in human readable form. The DBC file is introduced, because this is the very common way to manage identification and translation of the data. The DBC file type was developed to provide the means of record keeping as described in a CAN network.
DBC File Format
DBC file format only represent the reading or passive part, it doesn’t provide a means to elaborate transmissions. To support vehicles that don’t have a specific native adaption yet. This is done using the general DBC vehicle type to use DBC files to translate CAN data into metrics. Each message in a DBC becomes a C structure with the signals being the members of the C structure.
The DBC data consists of the following elements:
Simple DBC Message
A simple DBC message consists of the Message ID, and at least one signal. Following is a demonstration of a message that consists of a single 8-bit signal.
defining a multiplexed messages that uses a single message ID is an option, however, they are decoded differently depending on which multipexed value was sent. In order to send a multiplexed message below, a separate message have to be sent: