Interface CfnDecoderManifestPropsMixin.ObdSignalProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDecoderManifestPropsMixin.ObdSignalProperty.Jsii$Proxy
- Enclosing class:
CfnDecoderManifestPropsMixin
@Stability(Stable)
public static interface CfnDecoderManifestPropsMixin.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.cfnpropertymixins.services.iotfleetwise.*;
ObdSignalProperty obdSignalProperty = ObdSignalProperty.builder()
.bitMaskLength("bitMaskLength")
.bitRightShift("bitRightShift")
.byteLength("byteLength")
.isSigned("isSigned")
.offset("offset")
.pid("pid")
.pidResponseLength("pidResponseLength")
.scaling("scaling")
.serviceMode("serviceMode")
.signalValueType("signalValueType")
.startByte("startByte")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDecoderManifestPropsMixin.ObdSignalPropertystatic final classAn implementation forCfnDecoderManifestPropsMixin.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.default StringThe length of a message.default ObjectDetermines whether the message is signed (true) or not (false).default StringThe offset used to calculate the signal value.default StringgetPid()The diagnostic code used to request data from a vehicle for this signal.default StringThe length of the requested data.default StringA multiplier used to decode the message.default StringThe mode of operation (diagnostic service) in a message.default StringThe value type of the signal.default StringIndicates the beginning of the message.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
getByteLength
The length of a 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:
-
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:
-
getSignalValueType
The value type of the signal.The default value is
INTEGER.- See Also:
-
getStartByte
Indicates the beginning of the message.- See Also:
-
builder
-