Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Domain = struct { None DomainType VCSEC DomainType Infotainment DomainType }{ None: "", VCSEC: "vcsec", Infotainment: "infotainment", }
View Source
var ExceptedCommands = []string{"vehicle_data", "auto_conditioning_start", "auto_conditioning_stop", "charge_port_door_open", "charge_port_door_close", "flash_lights", "wake_up", "set_charging_amps", "set_charge_limit", "charge_start", "charge_stop", "session_info"}
View Source
var ExceptedEndpoints = []string{"charge_state", "climate_state"}
Functions ¶
func GetCategory ¶
func GetCategory(nameStr string) (vehicle.StateCategory, error)
Types ¶
type Command ¶
type Command struct { Command string Domain DomainType Vin string Body map[string]interface{} Response *models.ApiResponse }
type DomainType ¶
type DomainType string
Click to show internal directories.
Click to hide internal directories.