ovms

package
v0.0.0-...-aa513c4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const UnitMiles = "M"

Variables

This section is empty.

Functions

This section is empty.

Types

type ChargeResponse

type ChargeResponse struct {
	Units            string  `json:"units"`
	ChargeEtrFull    int64   `json:"charge_etr_full,string"`
	ChargeState      string  `json:"chargestate"`
	ChargePortOpen   int     `json:"cp_dooropen"`
	EstimatedRange   int64   `json:"estimatedrange,string"`
	MessageAgeServer int     `json:"m_msgage_s"`
	Soc              float64 `json:"soc,string"`
}

type ConnectResponse

type ConnectResponse struct {
	NetConnected int `json:"v_net_connected"`
}

type LocationResponse

type LocationResponse struct {
	Latitude  float64 `json:"latitude,string"`
	Longitude float64 `json:"longitude,string"`
}

type StatusResponse

type StatusResponse struct {
	Units    string  `json:"units"`
	Odometer float64 `json:"odometer,string"`
}

Jump to

Keyboard shortcuts

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