Array.<Number>
Number
Number
DiagnosticMessage
DiagnosticMessage
DiagnosticMessage
Array.<Number>
Get the MessageData
Kind: Instance method of DiagnosticMessage
Returns: Array.<Number>
- the KEY_MESSAGE_DATA value
Number
Get the MessageLength
Kind: Instance method of DiagnosticMessage
Returns: Number
- the KEY_MESSAGE_LENGTH value
Number
Get the TargetID
Kind: Instance method of DiagnosticMessage
Returns: Number
- the KEY_TARGET_ID value
DiagnosticMessage
Set the MessageData
Kind: Instance method of DiagnosticMessage
Returns: DiagnosticMessage
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
data | Array.<Number> |
Array of bytes comprising CAN message. - The desired MessageData. {'array_min_size': 1, 'array_max_size': 65535, 'num_min_value': 0, 'num_max_value': 255} |
DiagnosticMessage
Set the MessageLength
Kind: Instance method of DiagnosticMessage
Returns: DiagnosticMessage
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
length | Number |
Length of message (in bytes). - The desired MessageLength. {'num_min_value': 0, 'num_max_value': 65535} |
DiagnosticMessage
Set the TargetID
Kind: Instance method of DiagnosticMessage
Returns: DiagnosticMessage
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | Number |
Name of target ECU. - The desired TargetID. {'num_min_value': 0, 'num_max_value': 65535} |