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")
.isSigned("isSigned")
.signalValueType("signalValueType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDecoderManifest.ObdSignalPropertystatic final classAn implementation forCfnDecoderManifest.ObdSignalProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe number of bits to mask in a message.default StringThe number of positions to shift bits in the message.The length of a message.default ObjectDetermines whether the message is signed (true) or not (false).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.default StringThe value type of the signal.Indicates the beginning of the message.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getByteLength
The length of a message.- See Also:
-
getOffset
The offset used to calculate the signal value.Combined with scaling, the calculation is
value = raw_value * scaling + offset.- See Also:
-
getPid
The diagnostic code used to request data from a vehicle for this signal.- See Also:
-
getPidResponseLength
The length of the requested data.- See Also:
-
getScaling
A multiplier used to decode the message.- See Also:
-
getServiceMode
The mode of operation (diagnostic service) in a message.- See Also:
-
getStartByte
Indicates the beginning of the message.- See Also:
-
getBitMaskLength
The number of bits to mask in a message.- See Also:
-
getBitRightShift
The number of positions to shift bits in the message.- See Also:
-
getIsSigned
Determines whether the message is signed (true) or not (false).If it's signed, the message can represent both positive and negative numbers. The
isSignedparameter only applies to theINTEGERraw signal type, and it doesn't affect theFLOATING_POINTraw signal type. The default value isfalse.Returns union: either
StringorBooleanorIResolvable- See Also:
-
getSignalValueType
The value type of the signal.The default value is
INTEGER.- See Also:
-
builder
-