[dbc]
The [dbc<n>]
section(s) are used to specify a specific DBC file to be loaded. SDC loads dbc<n> sections starting at index 1. As soon as the next index is missing, loading will stop.
Example:
[dbc1]
dbcname=c:\haltech.dbc
dbcnamespace=hal
[dbc2]
dbcname=c:\rusEFI_CAN_verbose.dbc
dbcnamespace=rusefi
The above definition will load two DBC files. See the table below for an explanation of the two settings used.
Setting | Type | Explanation |
---|---|---|
dbcname | string | The name of a DBC file to be loaded at boot. This name must include the file path if there is one. For example, a DBC file called haltech.dbc stored in the root folder of the SD card would require the entry dbcname=c:\haltech.dbc . During processing, extra Attributes will be created to represent the signals defined by the DBC file. |
dbcnamespace | string | The namespace to be used for this DBC file. For example, for the Haltech DBC file you might use dbcnamespace=haltech . This would result in all attributes loaded from the Haltech file to be prefixed with haltech. e.g. haltech.OIL_TEMP for the oil temperature. Namespaces must be unique between DBC files to avoid one set of attributes overwriting another. If you specifically want to overwrite an internal attribute with a DBC attribute, you can use the dbcmapping section |