From f0c90b9b5c1767cfe300e595967f6ab389ed294e Mon Sep 17 00:00:00 2001 From: Pier-Yves Lessard <py.lessard@gmail.com> Date: Wed, 19 Mar 2025 21:41:31 -0400 Subject: [PATCH] Added missing DTC formats --- udsoncan/common/dtc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/udsoncan/common/dtc.py b/udsoncan/common/dtc.py index b9cf835..6f61d67 100644 --- a/udsoncan/common/dtc.py +++ b/udsoncan/common/dtc.py @@ -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]: