All UDS services

Read DTC Information

0x19

The Read DTC Information service enables the client to retrieve Diagnostic Trouble Code (DTC) information from one or more servers. The reportType sub-function determines the type of DTC data returned.

Negative response codes
0x120x130x31

Request

SID 0x19 · 2 bytes
Len (bits)
Parameter description
Value (hex)
8
Read DTC Information SID
0x19
1
suppressPosRspMsgIndicationBitBit 7 of the sub-function byte. When set to 1, the server will not send a positive response.
7
Retrieves the count of DTCs matching the given status mask.
0x01
8
DTCStatusMaskSpecifies which DTC status bits shall be used to filter matching DTCs.
0x00-0xFF

Positive response

SID 0x59
Len (bits)
Parameter description
Value (hex)
8
Read DTC Information SID
0x59
1
Echo of suppressPosRspMsgIndicationBit
7
Retrieves the count of DTCs matching the given status mask.
0x01
8
DTCStatusAvailabilityMaskIndicates which DTC status bits are supported by the server.
0x00-0xFF
8
DTCFormatIdentifierIdentifies the DTC format used by the server when encoding Diagnostic Trouble Codes.
16
DTCCountNumber of stored DTCs that match the requested status mask criteria.
0x0000-0xFFFF

n = Number of DTC records

m = Number of DID/data pairs in snapshot record