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

ReadDID Class Reference

Constructors

Instance Methods

Constructors

new ReadDID(parameters)

Initializes an instance of ReadDID.

Instance Methods

readDID.getDidLocation() ⇒ Array.<Number>

Get the DidLocation

Kind: Instance method of ReadDID
Returns: Array.<Number> - the KEY_DID_LOCATION value

readDID.getEcuName() ⇒ Number

Get the EcuName

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

readDID.setDidLocation(location) ⇒ ReadDID

Set the DidLocation

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

ParamTypeDescription
location Array.<Number> Get raw data from vehicle data DID location(s) - The desired DidLocation. {'array_min_size': 1, 'array_max_size': 1000, 'num_min_value': 0, 'num_max_value': 65535}

readDID.setEcuName(name) ⇒ ReadDID

Set the EcuName

Kind: Instance method of ReadDID
Returns: ReadDID - 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