Module ecu_diagnostics::uds[][src]

Expand description

Module for UDS (Unified diagnostic services - ISO14229)

Theoretically, this module should be compliant with any ECU which implements UDS (Typically any ECU produced after 2006 supports this)

Structs

UDS message payload

UDS Diagnostic server

UDS server options

Base handler for UDS

Enums

ReadDTCInformation sub-function definitions

Options for resetting the ECU

Security operation request

UDS Command Service IDs

UDS Error definitions

UDS Diagnostic session modes. Handled by SID 0x10

Functions

Clears diagnostic information (DTCs) from the ECU.

Asks the ECU to disable rapid power shutdown mode

Asks the ECU to perform a hard reset. See ResetType::HardReset for more details

Asks the ECU to perform a key off/on reset. See ResetType::KeyOffReset for more details

Asks the ECU to perform a soft reset. See ResetType::SoftReset for more details

Asks the ECU to enable rapid power shutdown mode. See ResetType::EnableRapidPowerShutDown for more details

Returns the UDSError from a matching input byte. The error byte provided MUST come from DiagError::ECUError

Returns the DTCExtendedData record(s) asssociated with the provided DTC mask and record number. For the record_number, 0xFE implies all OBD records. and 0xFF implies all records.

Returns the current number of ‘prefailed’ DTCs on the ECU, which have not yet been confirmed as being either ‘pending’ or ‘confirmed’

Returns all DTC snapshot identifications (DTC number(s) and DTCSnapshot record number(s))

Returns a list of snapshot records based on the mask of snapshot_record_number (0xFF for all records)

Returns a list of DTCs that have a permanent status

Returns a list of DTCs who’s severity mask matches the provided mask

Returns a list of DTCs stored on the ECU matching the provided status_mask

Returns a list of OBD emissions related DTCs stored on the ECU who’s status mask matches the provided mask

Returns the first confirmed DTC to be detected since the last DTC clear operation

Returns the first failed DTC to be detected since the last DTC clear operation

Returns a list of extended data records stored in DTC mirror memory for a given DTC. 0xFF for extended_data_record means return all extended data records.

Returns a list of DTCs out of the DTC mirror memory whos status_mask matches the provided mask

Returns the most recent DTC to be detected since the last DTC clear operation

Returns the most recent DTC to be detected since the last DTC clear operation

Returns the number of DTCs stored on the ECU that match the provided severity and status mask

Returns the number of DTCs stored on the ECU matching the provided status_mask

Returns the number of OBD emissions related DTCs stored on the ECU who’s status mask matches the provided masks

Returns the number of DTCs in DTC mirror memory who’s status_mask matches the provided mask

Returns the severity status of a provided DTC

Returns a list of all DTCs that the ECU can return

Requests a seed from the ECU for security access.

Sends the computed key to the ECU.

Tells the ECU to enter a custom diagnostic session mode

Tells the ECU to enter default diagnostic session mode

Tells the ECU to enter an extended diagnostic session mode

Tells the ECU to enter a programming diagnostic session mode

Tells the ECU to enter a safety system diagnostic session mode