Interface CfnDecoderManifest.ObdSignalProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDecoderManifest.ObdSignalProperty.Jsii$Proxy
- Enclosing class:
- CfnDecoderManifest
@Stability(Stable)
public static interface CfnDecoderManifest.ObdSignalProperty
extends software.amazon.jsii.JsiiSerializable
Information about signal messages using the on-board diagnostics (OBD) II protocol in a vehicle.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iotfleetwise.*; ObdSignalProperty obdSignalProperty = ObdSignalProperty.builder() .byteLength("byteLength") .offset("offset") .pid("pid") .pidResponseLength("pidResponseLength") .scaling("scaling") .serviceMode("serviceMode") .startByte("startByte") // the properties below are optional .bitMaskLength("bitMaskLength") .bitRightShift("bitRightShift") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDecoderManifest.ObdSignalProperty
static final class
An implementation forCfnDecoderManifest.ObdSignalProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
(Optional) The number of bits to mask in a message.default String
(Optional) The number of positions to shift bits in the message.The length of a message.The offset used to calculate the signal value.getPid()
The diagnostic code used to request data from a vehicle for this signal.The length of the requested data.A multiplier used to decode the message.The mode of operation (diagnostic service) in a message.Indicates the beginning of the message.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getByteLength
The length of a message. -
getOffset
The offset used to calculate the signal value.Combined with scaling, the calculation is
value = raw_value * scaling + offset
. -
getPid
The diagnostic code used to request data from a vehicle for this signal. -
getPidResponseLength
The length of the requested data. -
getScaling
A multiplier used to decode the message. -
getServiceMode
The mode of operation (diagnostic service) in a message. -
getStartByte
Indicates the beginning of the message. -
getBitMaskLength
(Optional) The number of bits to mask in a message. -
getBitRightShift
(Optional) The number of positions to shift bits in the message. -
builder
-