Struct SensorDTCInformation

Struct Documentation

struct SensorDTCInformation

Sensor DTC Information.

Note

Below are the events in which the PDU will be transmitted by the sensor

  • When a new DTC is recorded

  • When a Active DTC becomes Passive or vice versa

  • When clear DTC diagnostic command is successfully executed

Public Functions

explicit SensorDTCInformation(const std::array<uint8_t, kPduSize> &buffer)

Public Members

uint32_t pdu_id

PDU ID.

uint32_t pdu_payload_length

PDU Payload length.

struct E2E_Header e2e_header
uint32_t SensorDtc_LgpVer

LGP Version.

Note

Format: 0xWWXXYYZZ Byte1 ZZ: Minor Version, Byte2 YY: Major Version, Byte3 XX: Fixed to 0x00, Byte4 WW: Fixed to 0x00 Example for “LGPONETH_V3.1”: 0x00000301

DTCInformationData dtc_information_data
std::array<uint8_t, 44> BroadCast_Unassigned

Unassigned will be set to 0.

Public Static Attributes

static constexpr uint32_t kPduId = {0x133DDDCF}
static constexpr uint32_t kPduPayloadLength = {100u}
static constexpr uint32_t kPduSize = {kPduPayloadLength + kPduHeaderLength}