Array.<Number>NumberNumberDiagnosticMessageDiagnosticMessageDiagnosticMessageArray.<Number>Get the MessageData
Kind: Instance method of DiagnosticMessage
Returns: Array.<Number> - the KEY_MESSAGE_DATA value
NumberGet the MessageLength
Kind: Instance method of DiagnosticMessage
Returns: Number - the KEY_MESSAGE_LENGTH value
NumberGet the TargetID
Kind: Instance method of DiagnosticMessage
Returns: Number - the KEY_TARGET_ID value
DiagnosticMessageSet 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} |
DiagnosticMessageSet 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} |
DiagnosticMessageSet 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} |