BCE protocol updated: Data type 12: Diagnostic Trouble Codes is supported.
Mapping to flespi parameters is below.
Sub type 1: J1939 DM1 DTC
- Source ECU address - can.j1939.dm1.dtc.sa
- Suspect Parameter Number - can.j1939.dm1.dtc.spn
- Failure Mode Identifier - can.j1939.dm1.dtc.fmi
- SPN Conversion Method - can.j1939.dm1.dtc.cm
- Occurrence Count - can.j1939.dm1.dtc.oc
Sub type 2: J1939 DM1 Lamp Status DTC
- Source ECU address - can.j1939.dm1.dtc.sa
- Malfunction Indicator Lamp Status - can.j1939.dm1.dtc.mil
- Red Stop Lamp Status - can.j1939.dm1.dtc.rsl
- Amber Warning Lamp Status - #can.j1939.dm1.dtc.awl
- Protect Lamp Status - can.j1939.dm1.dtc.pl
- Flash Malfunction Indicator Lamp - can.j1939.dm1.dtc.mil.flash
- Flash Red Stop Lamp - can.j1939.dm1.dtc.rsl.flash
- Flash Amber Warning Lamp - can.j1939.dm1.dtc.awl.flash
- Flash Protect Lamp - can.j1939.dm1.dtc.pl.flash
Sub type 3: J1587 (PID 194) DTC
- MID - message identifier - can.j1587.dtc.mid
- SID - subsystem identifier - can.j1587.dtc.sid
- FMI - failure mode identifier - can.j1587.dtc.fmi
- Low character identifier for a standard diagnostic code - can.j1587.dtc.lci
- Type of diagnostic code - can.j1587.dtc.type
- Current status of fault - can.j1587.dtc.status
- Occurrence Count - can.j1587.dtc.oc
Sub type 4: J1979 (Service 03) DTC
- Source ECU address - can.j1979.s3.dtc.sa
- Diagnostic trouble code - can.j1979.s3.dtc
Sub type 5: J1979 (Service 07) DTC
- Source ECU address - can.j1979.s7.dtc.sa
- Diagnostic trouble code - can.j1979.s7.dtc
Sub type 6: J1979 (Service 0A) DTC
- Source ECU address - can.j1979.s10.dtc.sa
- Diagnostic trouble code - can.j1979.s10.dtc
If the Data type 12 structure contains information about more than one DTC code, than the first group of parameters are registered without indexes, and the subsequent groups - with indexes starting from 1. For example:
{
"can.j1979.s7.dtc": "P1498",
"can.j1979.s7.dtc.1": "P24A7",
"can.j1979.s7.dtc.2": "P24A8",
"can.j1979.s7.dtc.sa": 0,
"can.j1979.s7.dtc.sa.1": 0,
"can.j1979.s7.dtc.sa.2": 0,
"ident": "860665057222111",
"timestamp": 1648450450
}