telemetry

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package telemetry converts batches of Tesla protobuf Payloads into VSS signals.

Index

Constants

View Source
const DataVersion = "fleet_telemetry/v1.0.0"

Variables

This section is empty.

Functions

func FingerprintConvert

func FingerprintConvert(event cloudevent.RawEvent) (cloudevent.Fingerprint, error)

FingerprintConvert extracts a fingerprint from the first Fleet Telemetry protobuf Payload. We expect this to always succeed.

func IsFingerprint

func IsFingerprint(event cloudevent.RawEvent) bool

IsFingerprint returns whether the Fleet Telemetry batch contains an extractable VIN. This should always return true.

func SignalConvert

func SignalConvert(event cloudevent.RawEvent) ([]vss.Signal, error)

SignalConvert converts a CloudEvent containing a batch of Fleet Telemetry protobuf Payloads into DIMO's VSS rows.

Types

type TelemetryData

type TelemetryData struct {
	Payloads [][]byte `json:"payloads"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL