Skip to content

DecoderManifest

Source: src/AWS/IoTFleetWise/DecoderManifest.ts

An AWS IoT FleetWise decoder manifest — the decoding rules (network interfaces + signal decoders) that turn raw bus data from a vehicle modeled by a ModelManifest into standardized signals.

A manifest is created in DRAFT status; set status: "ACTIVE" to make it usable by vehicles. AWS IoT FleetWise is allowlist-gated and offered in us-east-1/eu-central-1 only.

const decoder = yield* DecoderManifest("SedanDecoder", {
modelManifestArn: model.modelManifestArn,
networkInterfaces: [
{
interfaceId: "obd0",
type: "OBD_INTERFACE",
obdInterface: { name: "obd", requestMessageId: 2015 },
},
],
signalDecoders: [
{
fullyQualifiedName: "Vehicle.Speed",
type: "OBD_SIGNAL",
interfaceId: "obd0",
obdSignal: {
pidResponseLength: 1,
serviceMode: 1,
pid: 13,
scaling: 1,
offset: 0,
startByte: 0,
byteLength: 1,
},
},
],
status: "ACTIVE",
});