Skip to content
v2.278.0

ObdSignalDecoderProperty Struct ​

A list of information about signal decoders.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as iotfleetwise } from 'aws-cdk-lib';
const obdSignalDecoderProperty: iotfleetwise.CfnDecoderManifest.ObdSignalDecoderProperty = {
  fullyQualifiedName: 'fullyQualifiedName',
  interfaceId: 'interfaceId',
  obdSignal: {
    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',
  },
  type: 'type',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotfleetwise as iotfleetwise

obd_signal_decoder_property = iotfleetwise.CfnDecoderManifest.ObdSignalDecoderProperty(
    fully_qualified_name="fullyQualifiedName",
    interface_id="interfaceId",
    obd_signal=iotfleetwise.CfnDecoderManifest.ObdSignalProperty(
        byte_length="byteLength",
        offset="offset",
        pid="pid",
        pid_response_length="pidResponseLength",
        scaling="scaling",
        service_mode="serviceMode",
        start_byte="startByte",

        # the properties below are optional
        bit_mask_length="bitMaskLength",
        bit_right_shift="bitRightShift",
        is_signed="isSigned",
        signal_value_type="signalValueType"
    ),
    type="type"
)
java
// 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.*;

ObdSignalDecoderProperty obdSignalDecoderProperty = ObdSignalDecoderProperty.builder()
        .fullyQualifiedName("fullyQualifiedName")
        .interfaceId("interfaceId")
        .obdSignal(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())
        .type("type")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTFleetWise;

var obdSignalDecoderProperty = new ObdSignalDecoderProperty {
    FullyQualifiedName = "fullyQualifiedName",
    InterfaceId = "interfaceId",
    ObdSignal = new ObdSignalProperty {
        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"
    },
    Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

obdSignalDecoderProperty := &ObdSignalDecoderProperty{
	FullyQualifiedName: jsii.String("fullyQualifiedName"),
	InterfaceId: jsii.String("interfaceId"),
	ObdSignal: &ObdSignalProperty{
		ByteLength: jsii.String("byteLength"),
		Offset: jsii.String("offset"),
		Pid: jsii.String("pid"),
		PidResponseLength: jsii.String("pidResponseLength"),
		Scaling: jsii.String("scaling"),
		ServiceMode: jsii.String("serviceMode"),
		StartByte: jsii.String("startByte"),

		// the properties below are optional
		BitMaskLength: jsii.String("bitMaskLength"),
		BitRightShift: jsii.String("bitRightShift"),
		IsSigned: jsii.String("isSigned"),
		SignalValueType: jsii.String("signalValueType"),
	},
	Type: jsii.String("type"),
}

Properties ​

fullyQualifiedNamestringfully_qualified_namestrfullyQualifiedNameStringFullyQualifiedNamestringFullyQualifiedName*string required #
The fully qualified name of a signal decoder as defined in a vehicle model.
interfaceIdstringinterface_idstrinterfaceIdStringInterfaceIdstringInterfaceId*string required #
The ID of a network interface that specifies what network protocol a vehicle follows.
obdSignalIResolvable | CfnDecoderManifest.ObdSignalPropertyobd_signaltyping.Union[IResolvable, ObdSignalProperty]obdSignalIResolvableObdSignalIResolvableObdSignalinterface{} required #
Information about signal messages using the on-board diagnostics (OBD) II protocol in a vehicle.
typestringtypestrtypeStringTypestringType*string required #
The network protocol for the vehicle.

For example, CAN_SIGNAL specifies a protocol that defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that defines how self-diagnostic data is communicated between ECUs.