Updated J1939 Structure in Structs.h to have 10 element array for all DTCs so multiple values can be read and written
Updated TP message formatting in DM1.c and DM2.c
Determines number of Active DTCs from other ECU from message size. Calc automates active messages so relying on extra non standard byte with active count is not required.
Decodes DTCs with loop, stores up to 10 DTCs in J1939 data structure so multiple values can be evaluated
Calculates message size and frames for transport TP based on number of active this ECU DTCs
Adds ability to loads this_ecu_tp_dt.data structure with up to 10 DTCs from the local ecu
Fixed detection of no-fault condition to match J1939 DM1 message standards (in DM1.c and DM2.c)
Sets active message count to 0 when DM1 message FECA contains a single DTC where all values are zero
Removed assignment of FMI to FMI_NOT_AVAILABLE (31) when requested to clear stored DM2 codes in DM3.c
FMI status of 31 is intended to be used as a general error condition if no other pre-defined FMI value applies
No longer required since DM1 and DM2 now use the standard all zero DTC message to indicate no active codes
Added Several PGNs to Enum_PGN.h list
Updated J1939 Structure in Structs.h to have 10 element array for all DTCs so multiple values can be read and written
Updated TP message formatting in DM1.c and DM2.c
Determines number of Active DTCs from other ECU from message size. Calc automates active messages so relying on extra non standard byte with active count is not required. Decodes DTCs with loop, stores up to 10 DTCs in J1939 data structure so multiple values can be evaluated Calculates message size and frames for transport TP based on number of active this ECU DTCs Adds ability to loads this_ecu_tp_dt.data structure with up to 10 DTCs from the local ecu Fixed detection of no-fault condition to match J1939 DM1 message standards (in DM1.c and DM2.c)
Sets active message count to 0 when DM1 message FECA contains a single DTC where all values are zero Removed assignment of FMI to FMI_NOT_AVAILABLE (31) when requested to clear stored DM2 codes in DM3.c
FMI status of 31 is intended to be used as a general error condition if no other pre-defined FMI value applies No longer required since DM1 and DM2 now use the standard all zero DTC message to indicate no active codes Added Several PGNs to Enum_PGN.h list