View Source PorscheConnEx.Struct.Capabilities (porsche_conn_ex v0.1.0)

Structure containing information about the capabilities of a particular vehicle.

This is the structure returned by PorscheConnEx.Client.capabilities/2.

Fields

  • car_model (string) — the vehicle platform code (e.g. "J1" for the Taycan)
  • engine_type (string) — the type of propulsion system (e.g. "BEV")
  • has_rdk? (boolean) — whether the vehicle features the RDK tire pressure monitoring system
  • has_dx1? (boolean) — unknown
  • needs_spin? (boolean) — unknown
  • display_parking_brake? (boolean) — unknown
  • steering_wheel (atom) — is the steering wheel on the :left or :right side?
  • heating (struct) — indicates the presence of seat heaters
    • front_seat? (boolean) — whether the front seats can be heated
    • rear_seat? (boolean) — whether the rear seats can be heated

Summary

Types

@type heating() :: %PorscheConnEx.Struct.Capabilities.Heating{
  front_seat?: boolean(),
  rear_seat?: boolean()
}
Link to this type

steering_wheel_position()

View Source
@type steering_wheel_position() :: :left | :right
@type t() :: %PorscheConnEx.Struct.Capabilities{
  car_model: binary(),
  display_parking_brake?: boolean(),
  engine_type: binary(),
  has_dx1?: boolean(),
  has_rdk?: boolean(),
  heating: heating(),
  needs_spin?: boolean(),
  steering_wheel: steering_wheel_position()
}