ObdSignal
Information about signal messages using the on-board diagnostics (OBD) II protocol in a vehicle.
Contents
- byteLength
-
The length of a message.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 8.
Required: Yes
- offset
-
The offset used to calculate the signal value. Combined with scaling, the calculation is
value = raw_value * scaling + offset
.Type: Double
Required: Yes
- pid
-
The diagnostic code used to request data from a vehicle for this signal.
Type: Integer
Valid Range: Minimum value of 0.
Required: Yes
- pidResponseLength
-
The length of the requested data.
Type: Integer
Valid Range: Minimum value of 1.
Required: Yes
- scaling
-
A multiplier used to decode the message.
Type: Double
Required: Yes
- serviceMode
-
The mode of operation (diagnostic service) in a message.
Type: Integer
Valid Range: Minimum value of 0.
Required: Yes
- startByte
-
Indicates the beginning of the message.
Type: Integer
Valid Range: Minimum value of 0.
Required: Yes
- bitMaskLength
-
The number of bits to mask in a message.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 8.
Required: No
- bitRightShift
-
The number of positions to shift bits in the message.
Type: Integer
Valid Range: Minimum value of 0.
Required: No
- isSigned
-
Determines whether the message is signed (
true
) or not (false
). If it's signed, the message can represent both positive and negative numbers. TheisSigned
parameter only applies to theINTEGER
raw signal type, and it doesn't affect theFLOATING_POINT
raw signal type. The default value isfalse
.Type: Boolean
Required: No
- signalValueType
-
The value type of the signal. The default value is
INTEGER
.Type: String
Valid Values:
INTEGER | FLOATING_POINT
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: