appmodels

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceConfigResponse

type DeviceConfigResponse struct {
	// PidURL including the version for the template
	PidURL string `json:"pidUrl"`
	// DeviceSettingURL including the version for the settings
	DeviceSettingURL string `json:"deviceSettingUrl"`
	// DbcURL including the version for the dbc file, usually same as pidurl template version
	DbcURL string `json:"dbcUrl,omitempty"`
}

DeviceConfigResponse response for what templates to use, mobile app dependency: userGetVehicleDecoding.ts

type SettingsData added in v0.7.3

type SettingsData struct {
	SafetyCutOutVoltage             float64 `json:"safety_cut_out_voltage"`               //nolint
	SleepTimerEventDrivenPeriodSecs float64 `json:"sleep_timer_event_driven_period_secs"` //nolint
	WakeTriggerVoltageLevel         float64 `json:"wake_trigger_voltage_level"`           //nolint
	MinVoltageOBDLoggers            float64 `json:"min_voltage_obd_loggers"`              //nolint
	LocationFrequencySecs           float64 `json:"location_frequency_secs"`              //nolint
}

SettingsData used for the template device power settings mostly

type UserDeviceAutoPIUnit

type UserDeviceAutoPIUnit struct {
	UserDeviceID       string
	DeviceDefinitionID string
	DeviceStyleID      string
}

Jump to

Keyboard shortcuts

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