Skip to content

Commit de4011c

Browse files
authored
Added missing DTC formats (#259)
1 parent 0f1158a commit de4011c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

udsoncan/common/dtc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ class Format:
1818
"""
1919
Provide a list of DTC formats and their indices. These values are used by the :ref:`The ReadDTCInformation<ReadDtcInformation>` when requesting a number of DTCs.
2020
"""
21-
ISO15031_6 = 0
21+
ISO15031_6 = 0 # 2006
22+
SAE_J2012_DA_DTCFormat_00 = 0 # 2013 / 2020
2223
ISO14229_1 = 1
2324
SAE_J1939_73 = 2
2425
ISO11992_4 = 3
26+
SAE_J2012_DA_DTCFormat_04 = 4
2527

2628
@classmethod
2729
def get_name(cls, given_id: Optional[int]) -> Optional[str]:

0 commit comments

Comments
 (0)