Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion udsoncan/common/dtc.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ class Format:
"""
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.
"""
ISO15031_6 = 0
ISO15031_6 = 0 # 2006
SAE_J2012_DA_DTCFormat_00 = 0 # 2013 / 2020
ISO14229_1 = 1
SAE_J1939_73 = 2
ISO11992_4 = 3
SAE_J2012_DA_DTCFormat_04 = 4

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