Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
GetDTCsResponse

GetDTCsResponse Class Reference

Constructors

Instance Methods

Constructors

new GetDTCsResponse(parameters)

Initalizes an instance of GetDTCsResponse.

Instance Methods

getDTCsResponse.getDtc() ⇒ Array.<String>

Get the Dtc

Kind: Instance method of GetDTCsResponse
Returns: Array.<String> - the KEY_DTC value

getDTCsResponse.getEcuHeader() ⇒ Number

Get the EcuHeader

Kind: Instance method of GetDTCsResponse
Returns: Number - the KEY_ECU_HEADER value

getDTCsResponse.setDtc(dtc) ⇒ GetDTCsResponse

Set the Dtc

Kind: Instance method of GetDTCsResponse
Returns: GetDTCsResponse - The class instance for method chaining.

ParamTypeDescription
dtc Array.<String> Array of all reported DTCs on module (ecuHeader contains information if list is - The desired Dtc. truncated). Each DTC is represented by 4 bytes (3 bytes of data and 1 byte status as defined in VHR_Layout_Specification_DTCs.pdf).

getDTCsResponse.setEcuHeader(header) ⇒ GetDTCsResponse

Set the EcuHeader

Kind: Instance method of GetDTCsResponse
Returns: GetDTCsResponse - The class instance for method chaining.

ParamTypeDescription
header Number 2 byte ECU Header for DTC response (as defined in VHR_Layout_Specification_DTCs.pdf) - The desired EcuHeader.
View on GitHub.com
Previous Section Next Section