Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaScript Suite Documentation

GetDTCs Class Reference

Constructors

Instance Methods

Constructors

new GetDTCs(parameters)

Initializes an instance of GetDTCs.

Instance Methods

getDTCs.getDtcMask() ⇒ Number

Get the DtcMask

Kind: Instance method of GetDTCs
Returns: Number - the KEY_DTC_MASK value

getDTCs.getEcuName() ⇒ Number

Get the EcuName

Kind: Instance method of GetDTCs
Returns: Number - the KEY_ECU_NAME value

getDTCs.setDtcMask(mask) ⇒ GetDTCs

Set the DtcMask

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

ParamTypeDescription
mask Number DTC Mask Byte to be sent in diagnostic request to module . - The desired DtcMask. {'num_min_value': 0, 'num_max_value': 255}

getDTCs.setEcuName(name) ⇒ GetDTCs

Set the EcuName

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

ParamTypeDescription
name Number Name of ECU. - The desired EcuName. {'num_min_value': 0, 'num_max_value': 65535}
View on GitHub.com