• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2020 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15# DO NOT EDIT MANUALLY
16# This file was autogenerated by vhal_const_generate.py
17
18# VehiclePropertyType
19VEHICLEPROPERTYTYPE_STRING = 0x100000
20VEHICLEPROPERTYTYPE_BOOLEAN = 0x200000
21VEHICLEPROPERTYTYPE_INT32 = 0x400000
22VEHICLEPROPERTYTYPE_INT32_VEC = 0x410000
23VEHICLEPROPERTYTYPE_INT64 = 0x500000
24VEHICLEPROPERTYTYPE_INT64_VEC = 0x510000
25VEHICLEPROPERTYTYPE_FLOAT = 0x600000
26VEHICLEPROPERTYTYPE_FLOAT_VEC = 0x610000
27VEHICLEPROPERTYTYPE_BYTES = 0x700000
28VEHICLEPROPERTYTYPE_MIXED = 0xe00000
29VEHICLEPROPERTYTYPE_MASK = 0xff0000
30
31# VehicleArea
32VEHICLEAREA_GLOBAL = 0x1000000
33VEHICLEAREA_WINDOW = 0x3000000
34VEHICLEAREA_MIRROR = 0x4000000
35VEHICLEAREA_SEAT = 0x5000000
36VEHICLEAREA_DOOR = 0x6000000
37VEHICLEAREA_WHEEL = 0x7000000
38VEHICLEAREA_MASK = 0xf000000
39
40# VehiclePropertyGroup
41VEHICLEPROPERTYGROUP_SYSTEM = 0x10000000
42VEHICLEPROPERTYGROUP_VENDOR = 0x20000000
43VEHICLEPROPERTYGROUP_MASK = 0xf0000000
44
45# VehicleProperty
46VEHICLEPROPERTY_INVALID = 0x0
47VEHICLEPROPERTY_INFO_VIN = 0x11100100
48VEHICLEPROPERTY_INFO_MAKE = 0x11100101
49VEHICLEPROPERTY_INFO_MODEL = 0x11100102
50VEHICLEPROPERTY_INFO_MODEL_YEAR = 0x11400103
51VEHICLEPROPERTY_INFO_FUEL_CAPACITY = 0x11600104
52VEHICLEPROPERTY_INFO_FUEL_TYPE = 0x11410105
53VEHICLEPROPERTY_INFO_EV_BATTERY_CAPACITY = 0x11600106
54VEHICLEPROPERTY_INFO_EV_CONNECTOR_TYPE = 0x11410107
55VEHICLEPROPERTY_INFO_FUEL_DOOR_LOCATION = 0x11400108
56VEHICLEPROPERTY_INFO_EV_PORT_LOCATION = 0x11400109
57VEHICLEPROPERTY_INFO_DRIVER_SEAT = 0x1540010a
58VEHICLEPROPERTY_INFO_EXTERIOR_DIMENSIONS = 0x1141010b
59VEHICLEPROPERTY_INFO_MULTI_EV_PORT_LOCATIONS = 0x1141010c
60VEHICLEPROPERTY_PERF_ODOMETER = 0x11600204
61VEHICLEPROPERTY_PERF_VEHICLE_SPEED = 0x11600207
62VEHICLEPROPERTY_PERF_VEHICLE_SPEED_DISPLAY = 0x11600208
63VEHICLEPROPERTY_PERF_STEERING_ANGLE = 0x11600209
64VEHICLEPROPERTY_PERF_REAR_STEERING_ANGLE = 0x11600210
65VEHICLEPROPERTY_ENGINE_COOLANT_TEMP = 0x11600301
66VEHICLEPROPERTY_ENGINE_OIL_LEVEL = 0x11400303
67VEHICLEPROPERTY_ENGINE_OIL_TEMP = 0x11600304
68VEHICLEPROPERTY_ENGINE_RPM = 0x11600305
69VEHICLEPROPERTY_WHEEL_TICK = 0x11510306
70VEHICLEPROPERTY_FUEL_LEVEL = 0x11600307
71VEHICLEPROPERTY_FUEL_DOOR_OPEN = 0x11200308
72VEHICLEPROPERTY_EV_BATTERY_LEVEL = 0x11600309
73VEHICLEPROPERTY_EV_CHARGE_PORT_OPEN = 0x1120030a
74VEHICLEPROPERTY_EV_CHARGE_PORT_CONNECTED = 0x1120030b
75VEHICLEPROPERTY_EV_BATTERY_INSTANTANEOUS_CHARGE_RATE = 0x1160030c
76VEHICLEPROPERTY_RANGE_REMAINING = 0x11600308
77VEHICLEPROPERTY_TIRE_PRESSURE = 0x17600309
78VEHICLEPROPERTY_GEAR_SELECTION = 0x11400400
79VEHICLEPROPERTY_CURRENT_GEAR = 0x11400401
80VEHICLEPROPERTY_PARKING_BRAKE_ON = 0x11200402
81VEHICLEPROPERTY_PARKING_BRAKE_AUTO_APPLY = 0x11200403
82VEHICLEPROPERTY_FUEL_LEVEL_LOW = 0x11200405
83VEHICLEPROPERTY_NIGHT_MODE = 0x11200407
84VEHICLEPROPERTY_TURN_SIGNAL_STATE = 0x11400408
85VEHICLEPROPERTY_IGNITION_STATE = 0x11400409
86VEHICLEPROPERTY_ABS_ACTIVE = 0x1120040a
87VEHICLEPROPERTY_TRACTION_CONTROL_ACTIVE = 0x1120040b
88VEHICLEPROPERTY_HVAC_FAN_SPEED = 0x15400500
89VEHICLEPROPERTY_HVAC_FAN_DIRECTION = 0x15400501
90VEHICLEPROPERTY_HVAC_TEMPERATURE_CURRENT = 0x15600502
91VEHICLEPROPERTY_HVAC_TEMPERATURE_SET = 0x15600503
92VEHICLEPROPERTY_HVAC_DEFROSTER = 0x13200504
93VEHICLEPROPERTY_HVAC_AC_ON = 0x15200505
94VEHICLEPROPERTY_HVAC_MAX_AC_ON = 0x15200506
95VEHICLEPROPERTY_HVAC_MAX_DEFROST_ON = 0x15200507
96VEHICLEPROPERTY_HVAC_RECIRC_ON = 0x15200508
97VEHICLEPROPERTY_HVAC_DUAL_ON = 0x15200509
98VEHICLEPROPERTY_HVAC_AUTO_ON = 0x1520050a
99VEHICLEPROPERTY_HVAC_SEAT_TEMPERATURE = 0x1540050b
100VEHICLEPROPERTY_HVAC_SIDE_MIRROR_HEAT = 0x1440050c
101VEHICLEPROPERTY_HVAC_STEERING_WHEEL_HEAT = 0x1140050d
102VEHICLEPROPERTY_HVAC_TEMPERATURE_DISPLAY_UNITS = 0x1140050e
103VEHICLEPROPERTY_HVAC_ACTUAL_FAN_SPEED_RPM = 0x1540050f
104VEHICLEPROPERTY_HVAC_POWER_ON = 0x15200510
105VEHICLEPROPERTY_HVAC_FAN_DIRECTION_AVAILABLE = 0x15410511
106VEHICLEPROPERTY_HVAC_AUTO_RECIRC_ON = 0x15200512
107VEHICLEPROPERTY_HVAC_SEAT_VENTILATION = 0x15400513
108VEHICLEPROPERTY_HVAC_ELECTRIC_DEFROSTER_ON = 0x13200514
109VEHICLEPROPERTY_DISTANCE_DISPLAY_UNITS = 0x11400600
110VEHICLEPROPERTY_FUEL_VOLUME_DISPLAY_UNITS = 0x11400601
111VEHICLEPROPERTY_TIRE_PRESSURE_DISPLAY_UNITS = 0x11400602
112VEHICLEPROPERTY_EV_BATTERY_DISPLAY_UNITS = 0x11400603
113VEHICLEPROPERTY_FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME = 0x11200604
114VEHICLEPROPERTY_VEHICLE_SPEED_DISPLAY_UNITS = 0x11400605
115VEHICLEPROPERTY_ENV_OUTSIDE_TEMPERATURE = 0x11600703
116VEHICLEPROPERTY_AP_POWER_STATE_REQ = 0x11410a00
117VEHICLEPROPERTY_AP_POWER_STATE_REPORT = 0x11410a01
118VEHICLEPROPERTY_AP_POWER_BOOTUP_REASON = 0x11400a02
119VEHICLEPROPERTY_DISPLAY_BRIGHTNESS = 0x11400a03
120VEHICLEPROPERTY_HW_KEY_INPUT = 0x11410a10
121VEHICLEPROPERTY_HW_ROTARY_INPUT = 0x11410a20
122VEHICLEPROPERTY_DOOR_POS = 0x16400b00
123VEHICLEPROPERTY_DOOR_MOVE = 0x16400b01
124VEHICLEPROPERTY_DOOR_LOCK = 0x16200b02
125VEHICLEPROPERTY_MIRROR_Z_POS = 0x14400b40
126VEHICLEPROPERTY_MIRROR_Z_MOVE = 0x14400b41
127VEHICLEPROPERTY_MIRROR_Y_POS = 0x14400b42
128VEHICLEPROPERTY_MIRROR_Y_MOVE = 0x14400b43
129VEHICLEPROPERTY_MIRROR_LOCK = 0x11200b44
130VEHICLEPROPERTY_MIRROR_FOLD = 0x11200b45
131VEHICLEPROPERTY_SEAT_MEMORY_SELECT = 0x15400b80
132VEHICLEPROPERTY_SEAT_MEMORY_SET = 0x15400b81
133VEHICLEPROPERTY_SEAT_BELT_BUCKLED = 0x15200b82
134VEHICLEPROPERTY_SEAT_BELT_HEIGHT_POS = 0x15400b83
135VEHICLEPROPERTY_SEAT_BELT_HEIGHT_MOVE = 0x15400b84
136VEHICLEPROPERTY_SEAT_FORE_AFT_POS = 0x15400b85
137VEHICLEPROPERTY_SEAT_FORE_AFT_MOVE = 0x15400b86
138VEHICLEPROPERTY_SEAT_BACKREST_ANGLE_1_POS = 0x15400b87
139VEHICLEPROPERTY_SEAT_BACKREST_ANGLE_1_MOVE = 0x15400b88
140VEHICLEPROPERTY_SEAT_BACKREST_ANGLE_2_POS = 0x15400b89
141VEHICLEPROPERTY_SEAT_BACKREST_ANGLE_2_MOVE = 0x15400b8a
142VEHICLEPROPERTY_SEAT_HEIGHT_POS = 0x15400b8b
143VEHICLEPROPERTY_SEAT_HEIGHT_MOVE = 0x15400b8c
144VEHICLEPROPERTY_SEAT_DEPTH_POS = 0x15400b8d
145VEHICLEPROPERTY_SEAT_DEPTH_MOVE = 0x15400b8e
146VEHICLEPROPERTY_SEAT_TILT_POS = 0x15400b8f
147VEHICLEPROPERTY_SEAT_TILT_MOVE = 0x15400b90
148VEHICLEPROPERTY_SEAT_LUMBAR_FORE_AFT_POS = 0x15400b91
149VEHICLEPROPERTY_SEAT_LUMBAR_FORE_AFT_MOVE = 0x15400b92
150VEHICLEPROPERTY_SEAT_LUMBAR_SIDE_SUPPORT_POS = 0x15400b93
151VEHICLEPROPERTY_SEAT_LUMBAR_SIDE_SUPPORT_MOVE = 0x15400b94
152VEHICLEPROPERTY_SEAT_HEADREST_HEIGHT_POS = 0x11400b95
153VEHICLEPROPERTY_SEAT_HEADREST_HEIGHT_MOVE = 0x15400b96
154VEHICLEPROPERTY_SEAT_HEADREST_ANGLE_POS = 0x15400b97
155VEHICLEPROPERTY_SEAT_HEADREST_ANGLE_MOVE = 0x15400b98
156VEHICLEPROPERTY_SEAT_HEADREST_FORE_AFT_POS = 0x15400b99
157VEHICLEPROPERTY_SEAT_HEADREST_FORE_AFT_MOVE = 0x15400b9a
158VEHICLEPROPERTY_SEAT_OCCUPANCY = 0x15400bb0
159VEHICLEPROPERTY_WINDOW_POS = 0x13400bc0
160VEHICLEPROPERTY_WINDOW_MOVE = 0x13400bc1
161VEHICLEPROPERTY_WINDOW_LOCK = 0x13200bc4
162VEHICLEPROPERTY_VEHICLE_MAP_SERVICE = 0x11e00c00
163VEHICLEPROPERTY_OBD2_LIVE_FRAME = 0x11e00d00
164VEHICLEPROPERTY_OBD2_FREEZE_FRAME = 0x11e00d01
165VEHICLEPROPERTY_OBD2_FREEZE_FRAME_INFO = 0x11e00d02
166VEHICLEPROPERTY_OBD2_FREEZE_FRAME_CLEAR = 0x11e00d03
167VEHICLEPROPERTY_HEADLIGHTS_STATE = 0x11400e00
168VEHICLEPROPERTY_HIGH_BEAM_LIGHTS_STATE = 0x11400e01
169VEHICLEPROPERTY_FOG_LIGHTS_STATE = 0x11400e02
170VEHICLEPROPERTY_HAZARD_LIGHTS_STATE = 0x11400e03
171VEHICLEPROPERTY_HEADLIGHTS_SWITCH = 0x11400e10
172VEHICLEPROPERTY_HIGH_BEAM_LIGHTS_SWITCH = 0x11400e11
173VEHICLEPROPERTY_FOG_LIGHTS_SWITCH = 0x11400e12
174VEHICLEPROPERTY_HAZARD_LIGHTS_SWITCH = 0x11400e13
175VEHICLEPROPERTY_CABIN_LIGHTS_STATE = 0x11400f01
176VEHICLEPROPERTY_CABIN_LIGHTS_SWITCH = 0x11400f02
177VEHICLEPROPERTY_READING_LIGHTS_STATE = 0x15400f03
178VEHICLEPROPERTY_READING_LIGHTS_SWITCH = 0x15400f04
179VEHICLEPROPERTY_SUPPORT_CUSTOMIZE_VENDOR_PERMISSION = 0x11200f05
180VEHICLEPROPERTY_DISABLED_OPTIONAL_FEATURES = 0x11100f06
181VEHICLEPROPERTY_INITIAL_USER_INFO = 0x11e00f07
182VEHICLEPROPERTY_SWITCH_USER = 0x11e00f08
183VEHICLEPROPERTY_CREATE_USER = 0x11e00f09
184VEHICLEPROPERTY_REMOVE_USER = 0x11e00f0a
185VEHICLEPROPERTY_USER_IDENTIFICATION_ASSOCIATION = 0x11e00f0b
186
187# VehicleVendorPermission
188VEHICLEVENDORPERMISSION_PERMISSION_DEFAULT = 0x0
189VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_WINDOW = 0x1
190VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_WINDOW = 0x2
191VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_DOOR = 0x3
192VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_DOOR = 0x4
193VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_SEAT = 0x5
194VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_SEAT = 0x6
195VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_MIRROR = 0x7
196VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_MIRROR = 0x8
197VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_INFO = 0x9
198VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_INFO = 0xa
199VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_ENGINE = 0xb
200VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_ENGINE = 0xc
201VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_HVAC = 0xd
202VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_HVAC = 0xe
203VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_LIGHT = 0xf
204VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_LIGHT = 0x10
205VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_1 = 0x10000
206VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_1 = 0x11000
207VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_2 = 0x20000
208VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_2 = 0x21000
209VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_3 = 0x30000
210VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_3 = 0x31000
211VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_4 = 0x40000
212VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_4 = 0x41000
213VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_5 = 0x50000
214VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_5 = 0x51000
215VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_6 = 0x60000
216VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_6 = 0x61000
217VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_7 = 0x70000
218VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_7 = 0x71000
219VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_8 = 0x80000
220VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_8 = 0x81000
221VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_9 = 0x90000
222VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_9 = 0x91000
223VEHICLEVENDORPERMISSION_PERMISSION_SET_VENDOR_CATEGORY_10 = 0xa0000
224VEHICLEVENDORPERMISSION_PERMISSION_GET_VENDOR_CATEGORY_10 = 0xa1000
225VEHICLEVENDORPERMISSION_PERMISSION_NOT_ACCESSIBLE = 0xf0000000
226
227# VehicleSeatOccupancyState
228VEHICLESEATOCCUPANCYSTATE_UNKNOWN = 0x0
229VEHICLESEATOCCUPANCYSTATE_VACANT = 0x1
230VEHICLESEATOCCUPANCYSTATE_OCCUPIED = 0x2
231
232# VehicleLightState
233VEHICLELIGHTSTATE_OFF = 0x0
234VEHICLELIGHTSTATE_ON = 0x1
235VEHICLELIGHTSTATE_DAYTIME_RUNNING = 0x2
236
237# VehicleLightSwitch
238VEHICLELIGHTSWITCH_OFF = 0x0
239VEHICLELIGHTSWITCH_ON = 0x1
240VEHICLELIGHTSWITCH_DAYTIME_RUNNING = 0x2
241VEHICLELIGHTSWITCH_AUTOMATIC = 0x100
242
243# EvConnectorType
244EVCONNECTORTYPE_UNKNOWN = 0x0
245EVCONNECTORTYPE_IEC_TYPE_1_AC = 0x1
246EVCONNECTORTYPE_IEC_TYPE_2_AC = 0x2
247EVCONNECTORTYPE_IEC_TYPE_3_AC = 0x3
248EVCONNECTORTYPE_IEC_TYPE_4_DC = 0x4
249EVCONNECTORTYPE_IEC_TYPE_1_CCS_DC = 0x5
250EVCONNECTORTYPE_IEC_TYPE_2_CCS_DC = 0x6
251EVCONNECTORTYPE_TESLA_ROADSTER = 0x7
252EVCONNECTORTYPE_TESLA_HPWC = 0x8
253EVCONNECTORTYPE_TESLA_SUPERCHARGER = 0x9
254EVCONNECTORTYPE_GBT_AC = 0xa
255EVCONNECTORTYPE_GBT_DC = 0xb
256EVCONNECTORTYPE_OTHER = 0x65
257
258# PortLocationType
259PORTLOCATIONTYPE_UNKNOWN = 0x0
260PORTLOCATIONTYPE_FRONT_LEFT = 0x1
261PORTLOCATIONTYPE_FRONT_RIGHT = 0x2
262PORTLOCATIONTYPE_REAR_RIGHT = 0x3
263PORTLOCATIONTYPE_REAR_LEFT = 0x4
264PORTLOCATIONTYPE_FRONT = 0x5
265PORTLOCATIONTYPE_REAR = 0x6
266
267# FuelType
268FUELTYPE_FUEL_TYPE_UNKNOWN = 0x0
269FUELTYPE_FUEL_TYPE_UNLEADED = 0x1
270FUELTYPE_FUEL_TYPE_LEADED = 0x2
271FUELTYPE_FUEL_TYPE_DIESEL_1 = 0x3
272FUELTYPE_FUEL_TYPE_DIESEL_2 = 0x4
273FUELTYPE_FUEL_TYPE_BIODIESEL = 0x5
274FUELTYPE_FUEL_TYPE_E85 = 0x6
275FUELTYPE_FUEL_TYPE_LPG = 0x7
276FUELTYPE_FUEL_TYPE_CNG = 0x8
277FUELTYPE_FUEL_TYPE_LNG = 0x9
278FUELTYPE_FUEL_TYPE_ELECTRIC = 0xa
279FUELTYPE_FUEL_TYPE_HYDROGEN = 0xb
280FUELTYPE_FUEL_TYPE_OTHER = 0xc
281
282# VehicleHvacFanDirection
283VEHICLEHVACFANDIRECTION_UNKNOWN = 0x0
284VEHICLEHVACFANDIRECTION_FACE = 0x1
285VEHICLEHVACFANDIRECTION_FLOOR = 0x2
286VEHICLEHVACFANDIRECTION_FACE_AND_FLOOR = 0x3
287VEHICLEHVACFANDIRECTION_DEFROST = 0x4
288VEHICLEHVACFANDIRECTION_DEFROST_AND_FLOOR = 0x6
289
290# VehicleOilLevel
291VEHICLEOILLEVEL_CRITICALLY_LOW = 0x0
292VEHICLEOILLEVEL_LOW = 0x1
293VEHICLEOILLEVEL_NORMAL = 0x2
294VEHICLEOILLEVEL_HIGH = 0x3
295VEHICLEOILLEVEL_ERROR = 0x4
296
297# VehicleApPowerStateConfigFlag
298VEHICLEAPPOWERSTATECONFIGFLAG_ENABLE_DEEP_SLEEP_FLAG = 0x1
299VEHICLEAPPOWERSTATECONFIGFLAG_CONFIG_SUPPORT_TIMER_POWER_ON_FLAG = 0x2
300
301# VehicleApPowerStateReq
302VEHICLEAPPOWERSTATEREQ_ON = 0x0
303VEHICLEAPPOWERSTATEREQ_SHUTDOWN_PREPARE = 0x1
304VEHICLEAPPOWERSTATEREQ_CANCEL_SHUTDOWN = 0x2
305VEHICLEAPPOWERSTATEREQ_FINISHED = 0x3
306
307# VehicleApPowerStateReqIndex
308VEHICLEAPPOWERSTATEREQINDEX_STATE = 0x0
309VEHICLEAPPOWERSTATEREQINDEX_ADDITIONAL = 0x1
310
311# VehicleApPowerStateShutdownParam
312VEHICLEAPPOWERSTATESHUTDOWNPARAM_SHUTDOWN_IMMEDIATELY = 0x1
313VEHICLEAPPOWERSTATESHUTDOWNPARAM_CAN_SLEEP = 0x2
314VEHICLEAPPOWERSTATESHUTDOWNPARAM_SHUTDOWN_ONLY = 0x3
315VEHICLEAPPOWERSTATESHUTDOWNPARAM_SLEEP_IMMEDIATELY = 0x4
316
317# VehicleApPowerStateReport
318VEHICLEAPPOWERSTATEREPORT_WAIT_FOR_VHAL = 0x1
319VEHICLEAPPOWERSTATEREPORT_DEEP_SLEEP_ENTRY = 0x2
320VEHICLEAPPOWERSTATEREPORT_DEEP_SLEEP_EXIT = 0x3
321VEHICLEAPPOWERSTATEREPORT_SHUTDOWN_POSTPONE = 0x4
322VEHICLEAPPOWERSTATEREPORT_SHUTDOWN_START = 0x5
323VEHICLEAPPOWERSTATEREPORT_ON = 0x6
324VEHICLEAPPOWERSTATEREPORT_SHUTDOWN_PREPARE = 0x7
325VEHICLEAPPOWERSTATEREPORT_SHUTDOWN_CANCELLED = 0x8
326
327# VehicleHwKeyInputAction
328VEHICLEHWKEYINPUTACTION_ACTION_DOWN = 0x0
329VEHICLEHWKEYINPUTACTION_ACTION_UP = 0x1
330
331# VehicleDisplay
332VEHICLEDISPLAY_MAIN = 0x0
333VEHICLEDISPLAY_INSTRUMENT_CLUSTER = 0x1
334
335# VehicleUnit
336VEHICLEUNIT_SHOULD_NOT_USE = 0x0
337VEHICLEUNIT_METER_PER_SEC = 0x1
338VEHICLEUNIT_RPM = 0x2
339VEHICLEUNIT_HERTZ = 0x3
340VEHICLEUNIT_PERCENTILE = 0x10
341VEHICLEUNIT_MILLIMETER = 0x20
342VEHICLEUNIT_METER = 0x21
343VEHICLEUNIT_KILOMETER = 0x23
344VEHICLEUNIT_MILE = 0x24
345VEHICLEUNIT_CELSIUS = 0x30
346VEHICLEUNIT_FAHRENHEIT = 0x31
347VEHICLEUNIT_KELVIN = 0x32
348VEHICLEUNIT_MILLILITER = 0x40
349VEHICLEUNIT_LITER = 0x41
350VEHICLEUNIT_GALLON = 0x42
351VEHICLEUNIT_US_GALLON = 0x42
352VEHICLEUNIT_IMPERIAL_GALLON = 0x43
353VEHICLEUNIT_NANO_SECS = 0x50
354VEHICLEUNIT_SECS = 0x53
355VEHICLEUNIT_YEAR = 0x59
356VEHICLEUNIT_WATT_HOUR = 0x60
357VEHICLEUNIT_MILLIAMPERE = 0x61
358VEHICLEUNIT_MILLIVOLT = 0x62
359VEHICLEUNIT_MILLIWATTS = 0x63
360VEHICLEUNIT_AMPERE_HOURS = 0x64
361VEHICLEUNIT_KILOWATT_HOUR = 0x65
362VEHICLEUNIT_KILOPASCAL = 0x70
363VEHICLEUNIT_PSI = 0x71
364VEHICLEUNIT_BAR = 0x72
365VEHICLEUNIT_DEGREES = 0x80
366VEHICLEUNIT_MILES_PER_HOUR = 0x90
367VEHICLEUNIT_KILOMETERS_PER_HOUR = 0x91
368
369# VehiclePropertyChangeMode
370VEHICLEPROPERTYCHANGEMODE_STATIC = 0x0
371VEHICLEPROPERTYCHANGEMODE_ON_CHANGE = 0x1
372VEHICLEPROPERTYCHANGEMODE_CONTINUOUS = 0x2
373
374# VehiclePropertyAccess
375VEHICLEPROPERTYACCESS_NONE = 0x0
376VEHICLEPROPERTYACCESS_READ = 0x1
377VEHICLEPROPERTYACCESS_WRITE = 0x2
378VEHICLEPROPERTYACCESS_READ_WRITE = 0x3
379
380# VehiclePropertyStatus
381VEHICLEPROPERTYSTATUS_AVAILABLE = 0x0
382VEHICLEPROPERTYSTATUS_UNAVAILABLE = 0x1
383VEHICLEPROPERTYSTATUS_ERROR = 0x2
384
385# VehicleGear
386VEHICLEGEAR_GEAR_UNKNOWN = 0x0
387VEHICLEGEAR_GEAR_NEUTRAL = 0x1
388VEHICLEGEAR_GEAR_REVERSE = 0x2
389VEHICLEGEAR_GEAR_PARK = 0x4
390VEHICLEGEAR_GEAR_DRIVE = 0x8
391VEHICLEGEAR_GEAR_1 = 0x10
392VEHICLEGEAR_GEAR_2 = 0x20
393VEHICLEGEAR_GEAR_3 = 0x40
394VEHICLEGEAR_GEAR_4 = 0x80
395VEHICLEGEAR_GEAR_5 = 0x100
396VEHICLEGEAR_GEAR_6 = 0x200
397VEHICLEGEAR_GEAR_7 = 0x400
398VEHICLEGEAR_GEAR_8 = 0x800
399VEHICLEGEAR_GEAR_9 = 0x1000
400
401# VehicleAreaSeat
402VEHICLEAREASEAT_ROW_1_LEFT = 0x1
403VEHICLEAREASEAT_ROW_1_CENTER = 0x2
404VEHICLEAREASEAT_ROW_1_RIGHT = 0x4
405VEHICLEAREASEAT_ROW_2_LEFT = 0x10
406VEHICLEAREASEAT_ROW_2_CENTER = 0x20
407VEHICLEAREASEAT_ROW_2_RIGHT = 0x40
408VEHICLEAREASEAT_ROW_3_LEFT = 0x100
409VEHICLEAREASEAT_ROW_3_CENTER = 0x200
410VEHICLEAREASEAT_ROW_3_RIGHT = 0x400
411
412# VehicleAreaWindow
413VEHICLEAREAWINDOW_FRONT_WINDSHIELD = 0x1
414VEHICLEAREAWINDOW_REAR_WINDSHIELD = 0x2
415VEHICLEAREAWINDOW_ROW_1_LEFT = 0x10
416VEHICLEAREAWINDOW_ROW_1_RIGHT = 0x40
417VEHICLEAREAWINDOW_ROW_2_LEFT = 0x100
418VEHICLEAREAWINDOW_ROW_2_RIGHT = 0x400
419VEHICLEAREAWINDOW_ROW_3_LEFT = 0x1000
420VEHICLEAREAWINDOW_ROW_3_RIGHT = 0x4000
421VEHICLEAREAWINDOW_ROOF_TOP_1 = 0x10000
422VEHICLEAREAWINDOW_ROOF_TOP_2 = 0x20000
423
424# VehicleAreaDoor
425VEHICLEAREADOOR_ROW_1_LEFT = 0x1
426VEHICLEAREADOOR_ROW_1_RIGHT = 0x4
427VEHICLEAREADOOR_ROW_2_LEFT = 0x10
428VEHICLEAREADOOR_ROW_2_RIGHT = 0x40
429VEHICLEAREADOOR_ROW_3_LEFT = 0x100
430VEHICLEAREADOOR_ROW_3_RIGHT = 0x400
431VEHICLEAREADOOR_HOOD = 0x10000000
432VEHICLEAREADOOR_REAR = 0x20000000
433
434# VehicleAreaMirror
435VEHICLEAREAMIRROR_DRIVER_LEFT = 0x1
436VEHICLEAREAMIRROR_DRIVER_RIGHT = 0x2
437VEHICLEAREAMIRROR_DRIVER_CENTER = 0x4
438
439# VehicleTurnSignal
440VEHICLETURNSIGNAL_NONE = 0x0
441VEHICLETURNSIGNAL_RIGHT = 0x1
442VEHICLETURNSIGNAL_LEFT = 0x2
443
444# VehicleIgnitionState
445VEHICLEIGNITIONSTATE_UNDEFINED = 0x0
446VEHICLEIGNITIONSTATE_LOCK = 0x1
447VEHICLEIGNITIONSTATE_OFF = 0x2
448VEHICLEIGNITIONSTATE_ACC = 0x3
449VEHICLEIGNITIONSTATE_ON = 0x4
450VEHICLEIGNITIONSTATE_START = 0x5
451
452# SubscribeFlags
453SUBSCRIBEFLAGS_UNDEFINED = 0x0
454SUBSCRIBEFLAGS_EVENTS_FROM_CAR = 0x1
455SUBSCRIBEFLAGS_EVENTS_FROM_ANDROID = 0x2
456
457# StatusCode
458STATUSCODE_OK = 0x0
459STATUSCODE_TRY_AGAIN = 0x1
460STATUSCODE_INVALID_ARG = 0x2
461STATUSCODE_NOT_AVAILABLE = 0x3
462STATUSCODE_ACCESS_DENIED = 0x4
463STATUSCODE_INTERNAL_ERROR = 0x5
464
465# VehicleAreaWheel
466VEHICLEAREAWHEEL_UNKNOWN = 0x0
467VEHICLEAREAWHEEL_LEFT_FRONT = 0x1
468VEHICLEAREAWHEEL_RIGHT_FRONT = 0x2
469VEHICLEAREAWHEEL_LEFT_REAR = 0x4
470VEHICLEAREAWHEEL_RIGHT_REAR = 0x8
471
472# Obd2FuelSystemStatus
473OBD2FUELSYSTEMSTATUS_OPEN_INSUFFICIENT_ENGINE_TEMPERATURE = 0x1
474OBD2FUELSYSTEMSTATUS_CLOSED_LOOP = 0x2
475OBD2FUELSYSTEMSTATUS_OPEN_ENGINE_LOAD_OR_DECELERATION = 0x4
476OBD2FUELSYSTEMSTATUS_OPEN_SYSTEM_FAILURE = 0x8
477OBD2FUELSYSTEMSTATUS_CLOSED_LOOP_BUT_FEEDBACK_FAULT = 0x10
478
479# Obd2IgnitionMonitorKind
480OBD2IGNITIONMONITORKIND_SPARK = 0x0
481OBD2IGNITIONMONITORKIND_COMPRESSION = 0x1
482
483# Obd2CommonIgnitionMonitors
484OBD2COMMONIGNITIONMONITORS_COMPONENTS_AVAILABLE = 0x1
485OBD2COMMONIGNITIONMONITORS_COMPONENTS_INCOMPLETE = 0x2
486OBD2COMMONIGNITIONMONITORS_FUEL_SYSTEM_AVAILABLE = 0x4
487OBD2COMMONIGNITIONMONITORS_FUEL_SYSTEM_INCOMPLETE = 0x8
488OBD2COMMONIGNITIONMONITORS_MISFIRE_AVAILABLE = 0x10
489OBD2COMMONIGNITIONMONITORS_MISFIRE_INCOMPLETE = 0x20
490
491# Obd2SparkIgnitionMonitors
492OBD2SPARKIGNITIONMONITORS_EGR_AVAILABLE = 0x40
493OBD2SPARKIGNITIONMONITORS_EGR_INCOMPLETE = 0x80
494OBD2SPARKIGNITIONMONITORS_OXYGEN_SENSOR_HEATER_AVAILABLE = 0x100
495OBD2SPARKIGNITIONMONITORS_OXYGEN_SENSOR_HEATER_INCOMPLETE = 0x200
496OBD2SPARKIGNITIONMONITORS_OXYGEN_SENSOR_AVAILABLE = 0x400
497OBD2SPARKIGNITIONMONITORS_OXYGEN_SENSOR_INCOMPLETE = 0x800
498OBD2SPARKIGNITIONMONITORS_AC_REFRIGERANT_AVAILABLE = 0x1000
499OBD2SPARKIGNITIONMONITORS_AC_REFRIGERANT_INCOMPLETE = 0x2000
500OBD2SPARKIGNITIONMONITORS_SECONDARY_AIR_SYSTEM_AVAILABLE = 0x4000
501OBD2SPARKIGNITIONMONITORS_SECONDARY_AIR_SYSTEM_INCOMPLETE = 0x8000
502OBD2SPARKIGNITIONMONITORS_EVAPORATIVE_SYSTEM_AVAILABLE = 0x10000
503OBD2SPARKIGNITIONMONITORS_EVAPORATIVE_SYSTEM_INCOMPLETE = 0x20000
504OBD2SPARKIGNITIONMONITORS_HEATED_CATALYST_AVAILABLE = 0x40000
505OBD2SPARKIGNITIONMONITORS_HEATED_CATALYST_INCOMPLETE = 0x80000
506OBD2SPARKIGNITIONMONITORS_CATALYST_AVAILABLE = 0x100000
507OBD2SPARKIGNITIONMONITORS_CATALYST_INCOMPLETE = 0x200000
508
509# Obd2CompressionIgnitionMonitors
510OBD2COMPRESSIONIGNITIONMONITORS_EGR_OR_VVT_AVAILABLE = 0x40
511OBD2COMPRESSIONIGNITIONMONITORS_EGR_OR_VVT_INCOMPLETE = 0x80
512OBD2COMPRESSIONIGNITIONMONITORS_PM_FILTER_AVAILABLE = 0x100
513OBD2COMPRESSIONIGNITIONMONITORS_PM_FILTER_INCOMPLETE = 0x200
514OBD2COMPRESSIONIGNITIONMONITORS_EXHAUST_GAS_SENSOR_AVAILABLE = 0x400
515OBD2COMPRESSIONIGNITIONMONITORS_EXHAUST_GAS_SENSOR_INCOMPLETE = 0x800
516OBD2COMPRESSIONIGNITIONMONITORS_BOOST_PRESSURE_AVAILABLE = 0x1000
517OBD2COMPRESSIONIGNITIONMONITORS_BOOST_PRESSURE_INCOMPLETE = 0x2000
518OBD2COMPRESSIONIGNITIONMONITORS_NOx_SCR_AVAILABLE = 0x4000
519OBD2COMPRESSIONIGNITIONMONITORS_NOx_SCR_INCOMPLETE = 0x8000
520OBD2COMPRESSIONIGNITIONMONITORS_NMHC_CATALYST_AVAILABLE = 0x10000
521OBD2COMPRESSIONIGNITIONMONITORS_NMHC_CATALYST_INCOMPLETE = 0x20000
522
523# Obd2SecondaryAirStatus
524OBD2SECONDARYAIRSTATUS_UPSTREAM = 0x1
525OBD2SECONDARYAIRSTATUS_DOWNSTREAM_OF_CATALYCIC_CONVERTER = 0x2
526OBD2SECONDARYAIRSTATUS_FROM_OUTSIDE_OR_OFF = 0x4
527OBD2SECONDARYAIRSTATUS_PUMP_ON_FOR_DIAGNOSTICS = 0x8
528
529# Obd2FuelType
530OBD2FUELTYPE_NOT_AVAILABLE = 0x0
531OBD2FUELTYPE_GASOLINE = 0x1
532OBD2FUELTYPE_METHANOL = 0x2
533OBD2FUELTYPE_ETHANOL = 0x3
534OBD2FUELTYPE_DIESEL = 0x4
535OBD2FUELTYPE_LPG = 0x5
536OBD2FUELTYPE_CNG = 0x6
537OBD2FUELTYPE_PROPANE = 0x7
538OBD2FUELTYPE_ELECTRIC = 0x8
539OBD2FUELTYPE_BIFUEL_RUNNING_GASOLINE = 0x9
540OBD2FUELTYPE_BIFUEL_RUNNING_METHANOL = 0xa
541OBD2FUELTYPE_BIFUEL_RUNNING_ETHANOL = 0xb
542OBD2FUELTYPE_BIFUEL_RUNNING_LPG = 0xc
543OBD2FUELTYPE_BIFUEL_RUNNING_CNG = 0xd
544OBD2FUELTYPE_BIFUEL_RUNNING_PROPANE = 0xe
545OBD2FUELTYPE_BIFUEL_RUNNING_ELECTRIC = 0xf
546OBD2FUELTYPE_BIFUEL_RUNNING_ELECTRIC_AND_COMBUSTION = 0x10
547OBD2FUELTYPE_HYBRID_GASOLINE = 0x11
548OBD2FUELTYPE_HYBRID_ETHANOL = 0x12
549OBD2FUELTYPE_HYBRID_DIESEL = 0x13
550OBD2FUELTYPE_HYBRID_ELECTRIC = 0x14
551OBD2FUELTYPE_HYBRID_RUNNING_ELECTRIC_AND_COMBUSTION = 0x15
552OBD2FUELTYPE_HYBRID_REGENERATIVE = 0x16
553OBD2FUELTYPE_BIFUEL_RUNNING_DIESEL = 0x17
554
555# DiagnosticIntegerSensorIndex
556DIAGNOSTICINTEGERSENSORINDEX_FUEL_SYSTEM_STATUS = 0x0
557DIAGNOSTICINTEGERSENSORINDEX_MALFUNCTION_INDICATOR_LIGHT_ON = 0x1
558DIAGNOSTICINTEGERSENSORINDEX_IGNITION_MONITORS_SUPPORTED = 0x2
559DIAGNOSTICINTEGERSENSORINDEX_IGNITION_SPECIFIC_MONITORS = 0x3
560DIAGNOSTICINTEGERSENSORINDEX_INTAKE_AIR_TEMPERATURE = 0x4
561DIAGNOSTICINTEGERSENSORINDEX_COMMANDED_SECONDARY_AIR_STATUS = 0x5
562DIAGNOSTICINTEGERSENSORINDEX_NUM_OXYGEN_SENSORS_PRESENT = 0x6
563DIAGNOSTICINTEGERSENSORINDEX_RUNTIME_SINCE_ENGINE_START = 0x7
564DIAGNOSTICINTEGERSENSORINDEX_DISTANCE_TRAVELED_WITH_MALFUNCTION_INDICATOR_LIGHT_ON = 0x8
565DIAGNOSTICINTEGERSENSORINDEX_WARMUPS_SINCE_CODES_CLEARED = 0x9
566DIAGNOSTICINTEGERSENSORINDEX_DISTANCE_TRAVELED_SINCE_CODES_CLEARED = 0xa
567DIAGNOSTICINTEGERSENSORINDEX_ABSOLUTE_BAROMETRIC_PRESSURE = 0xb
568DIAGNOSTICINTEGERSENSORINDEX_CONTROL_MODULE_VOLTAGE = 0xc
569DIAGNOSTICINTEGERSENSORINDEX_AMBIENT_AIR_TEMPERATURE = 0xd
570DIAGNOSTICINTEGERSENSORINDEX_TIME_WITH_MALFUNCTION_LIGHT_ON = 0xe
571DIAGNOSTICINTEGERSENSORINDEX_TIME_SINCE_TROUBLE_CODES_CLEARED = 0xf
572DIAGNOSTICINTEGERSENSORINDEX_MAX_FUEL_AIR_EQUIVALENCE_RATIO = 0x10
573DIAGNOSTICINTEGERSENSORINDEX_MAX_OXYGEN_SENSOR_VOLTAGE = 0x11
574DIAGNOSTICINTEGERSENSORINDEX_MAX_OXYGEN_SENSOR_CURRENT = 0x12
575DIAGNOSTICINTEGERSENSORINDEX_MAX_INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 0x13
576DIAGNOSTICINTEGERSENSORINDEX_MAX_AIR_FLOW_RATE_FROM_MASS_AIR_FLOW_SENSOR = 0x14
577DIAGNOSTICINTEGERSENSORINDEX_FUEL_TYPE = 0x15
578DIAGNOSTICINTEGERSENSORINDEX_FUEL_RAIL_ABSOLUTE_PRESSURE = 0x16
579DIAGNOSTICINTEGERSENSORINDEX_ENGINE_OIL_TEMPERATURE = 0x17
580DIAGNOSTICINTEGERSENSORINDEX_DRIVER_DEMAND_PERCENT_TORQUE = 0x18
581DIAGNOSTICINTEGERSENSORINDEX_ENGINE_ACTUAL_PERCENT_TORQUE = 0x19
582DIAGNOSTICINTEGERSENSORINDEX_ENGINE_REFERENCE_PERCENT_TORQUE = 0x1a
583DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_IDLE = 0x1b
584DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_POINT1 = 0x1c
585DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_POINT2 = 0x1d
586DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_POINT3 = 0x1e
587DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_POINT4 = 0x1f
588DIAGNOSTICINTEGERSENSORINDEX_LAST_SYSTEM_INDEX = 0x1f
589
590# DiagnosticFloatSensorIndex
591DIAGNOSTICFLOATSENSORINDEX_CALCULATED_ENGINE_LOAD = 0x0
592DIAGNOSTICFLOATSENSORINDEX_ENGINE_COOLANT_TEMPERATURE = 0x1
593DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_FUEL_TRIM_BANK1 = 0x2
594DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_FUEL_TRIM_BANK1 = 0x3
595DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_FUEL_TRIM_BANK2 = 0x4
596DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_FUEL_TRIM_BANK2 = 0x5
597DIAGNOSTICFLOATSENSORINDEX_FUEL_PRESSURE = 0x6
598DIAGNOSTICFLOATSENSORINDEX_INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 0x7
599DIAGNOSTICFLOATSENSORINDEX_ENGINE_RPM = 0x8
600DIAGNOSTICFLOATSENSORINDEX_VEHICLE_SPEED = 0x9
601DIAGNOSTICFLOATSENSORINDEX_TIMING_ADVANCE = 0xa
602DIAGNOSTICFLOATSENSORINDEX_MAF_AIR_FLOW_RATE = 0xb
603DIAGNOSTICFLOATSENSORINDEX_THROTTLE_POSITION = 0xc
604DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR1_VOLTAGE = 0xd
605DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR1_SHORT_TERM_FUEL_TRIM = 0xe
606DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR1_FUEL_AIR_EQUIVALENCE_RATIO = 0xf
607DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR2_VOLTAGE = 0x10
608DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR2_SHORT_TERM_FUEL_TRIM = 0x11
609DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR2_FUEL_AIR_EQUIVALENCE_RATIO = 0x12
610DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR3_VOLTAGE = 0x13
611DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR3_SHORT_TERM_FUEL_TRIM = 0x14
612DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR3_FUEL_AIR_EQUIVALENCE_RATIO = 0x15
613DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR4_VOLTAGE = 0x16
614DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR4_SHORT_TERM_FUEL_TRIM = 0x17
615DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR4_FUEL_AIR_EQUIVALENCE_RATIO = 0x18
616DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR5_VOLTAGE = 0x19
617DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR5_SHORT_TERM_FUEL_TRIM = 0x1a
618DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR5_FUEL_AIR_EQUIVALENCE_RATIO = 0x1b
619DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR6_VOLTAGE = 0x1c
620DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR6_SHORT_TERM_FUEL_TRIM = 0x1d
621DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR6_FUEL_AIR_EQUIVALENCE_RATIO = 0x1e
622DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR7_VOLTAGE = 0x1f
623DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR7_SHORT_TERM_FUEL_TRIM = 0x20
624DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR7_FUEL_AIR_EQUIVALENCE_RATIO = 0x21
625DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR8_VOLTAGE = 0x22
626DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR8_SHORT_TERM_FUEL_TRIM = 0x23
627DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR8_FUEL_AIR_EQUIVALENCE_RATIO = 0x24
628DIAGNOSTICFLOATSENSORINDEX_FUEL_RAIL_PRESSURE = 0x25
629DIAGNOSTICFLOATSENSORINDEX_FUEL_RAIL_GAUGE_PRESSURE = 0x26
630DIAGNOSTICFLOATSENSORINDEX_COMMANDED_EXHAUST_GAS_RECIRCULATION = 0x27
631DIAGNOSTICFLOATSENSORINDEX_EXHAUST_GAS_RECIRCULATION_ERROR = 0x28
632DIAGNOSTICFLOATSENSORINDEX_COMMANDED_EVAPORATIVE_PURGE = 0x29
633DIAGNOSTICFLOATSENSORINDEX_FUEL_TANK_LEVEL_INPUT = 0x2a
634DIAGNOSTICFLOATSENSORINDEX_EVAPORATION_SYSTEM_VAPOR_PRESSURE = 0x2b
635DIAGNOSTICFLOATSENSORINDEX_CATALYST_TEMPERATURE_BANK1_SENSOR1 = 0x2c
636DIAGNOSTICFLOATSENSORINDEX_CATALYST_TEMPERATURE_BANK2_SENSOR1 = 0x2d
637DIAGNOSTICFLOATSENSORINDEX_CATALYST_TEMPERATURE_BANK1_SENSOR2 = 0x2e
638DIAGNOSTICFLOATSENSORINDEX_CATALYST_TEMPERATURE_BANK2_SENSOR2 = 0x2f
639DIAGNOSTICFLOATSENSORINDEX_ABSOLUTE_LOAD_VALUE = 0x30
640DIAGNOSTICFLOATSENSORINDEX_FUEL_AIR_COMMANDED_EQUIVALENCE_RATIO = 0x31
641DIAGNOSTICFLOATSENSORINDEX_RELATIVE_THROTTLE_POSITION = 0x32
642DIAGNOSTICFLOATSENSORINDEX_ABSOLUTE_THROTTLE_POSITION_B = 0x33
643DIAGNOSTICFLOATSENSORINDEX_ABSOLUTE_THROTTLE_POSITION_C = 0x34
644DIAGNOSTICFLOATSENSORINDEX_ACCELERATOR_PEDAL_POSITION_D = 0x35
645DIAGNOSTICFLOATSENSORINDEX_ACCELERATOR_PEDAL_POSITION_E = 0x36
646DIAGNOSTICFLOATSENSORINDEX_ACCELERATOR_PEDAL_POSITION_F = 0x37
647DIAGNOSTICFLOATSENSORINDEX_COMMANDED_THROTTLE_ACTUATOR = 0x38
648DIAGNOSTICFLOATSENSORINDEX_ETHANOL_FUEL_PERCENTAGE = 0x39
649DIAGNOSTICFLOATSENSORINDEX_ABSOLUTE_EVAPORATION_SYSTEM_VAPOR_PRESSURE = 0x3a
650DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1 = 0x3b
651DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2 = 0x3c
652DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3 = 0x3d
653DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4 = 0x3e
654DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1 = 0x3f
655DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2 = 0x40
656DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3 = 0x41
657DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4 = 0x42
658DIAGNOSTICFLOATSENSORINDEX_RELATIVE_ACCELERATOR_PEDAL_POSITION = 0x43
659DIAGNOSTICFLOATSENSORINDEX_HYBRID_BATTERY_PACK_REMAINING_LIFE = 0x44
660DIAGNOSTICFLOATSENSORINDEX_FUEL_INJECTION_TIMING = 0x45
661DIAGNOSTICFLOATSENSORINDEX_ENGINE_FUEL_RATE = 0x46
662DIAGNOSTICFLOATSENSORINDEX_LAST_SYSTEM_INDEX = 0x46
663
664# VmsMessageType
665VMSMESSAGETYPE_SUBSCRIBE = 0x1
666VMSMESSAGETYPE_SUBSCRIBE_TO_PUBLISHER = 0x2
667VMSMESSAGETYPE_UNSUBSCRIBE = 0x3
668VMSMESSAGETYPE_UNSUBSCRIBE_TO_PUBLISHER = 0x4
669VMSMESSAGETYPE_OFFERING = 0x5
670VMSMESSAGETYPE_AVAILABILITY_REQUEST = 0x6
671VMSMESSAGETYPE_SUBSCRIPTIONS_REQUEST = 0x7
672VMSMESSAGETYPE_AVAILABILITY_RESPONSE = 0x8
673VMSMESSAGETYPE_AVAILABILITY_CHANGE = 0x9
674VMSMESSAGETYPE_SUBSCRIPTIONS_RESPONSE = 0xa
675VMSMESSAGETYPE_SUBSCRIPTIONS_CHANGE = 0xb
676VMSMESSAGETYPE_DATA = 0xc
677VMSMESSAGETYPE_PUBLISHER_ID_REQUEST = 0xd
678VMSMESSAGETYPE_PUBLISHER_ID_RESPONSE = 0xe
679VMSMESSAGETYPE_PUBLISHER_INFORMATION_REQUEST = 0xf
680VMSMESSAGETYPE_PUBLISHER_INFORMATION_RESPONSE = 0x10
681VMSMESSAGETYPE_START_SESSION = 0x11
682VMSMESSAGETYPE_LAST_VMS_MESSAGE_TYPE = 0x11
683
684# VmsBaseMessageIntegerValuesIndex
685VMSBASEMESSAGEINTEGERVALUESINDEX_MESSAGE_TYPE = 0x0
686
687# VmsStartSessionMessageIntegerValuesIndex
688VMSSTARTSESSIONMESSAGEINTEGERVALUESINDEX_SERVICE_ID = 0x1
689VMSSTARTSESSIONMESSAGEINTEGERVALUESINDEX_CLIENT_ID = 0x2
690
691# VmsMessageWithLayerIntegerValuesIndex
692VMSMESSAGEWITHLAYERINTEGERVALUESINDEX_LAYER_TYPE = 0x1
693VMSMESSAGEWITHLAYERINTEGERVALUESINDEX_LAYER_SUBTYPE = 0x2
694VMSMESSAGEWITHLAYERINTEGERVALUESINDEX_LAYER_VERSION = 0x3
695
696# VmsMessageWithLayerAndPublisherIdIntegerValuesIndex
697VMSMESSAGEWITHLAYERANDPUBLISHERIDINTEGERVALUESINDEX_PUBLISHER_ID = 0x4
698
699# VmsOfferingMessageIntegerValuesIndex
700VMSOFFERINGMESSAGEINTEGERVALUESINDEX_PUBLISHER_ID = 0x1
701VMSOFFERINGMESSAGEINTEGERVALUESINDEX_NUMBER_OF_OFFERS = 0x2
702VMSOFFERINGMESSAGEINTEGERVALUESINDEX_OFFERING_START = 0x3
703
704# VmsSubscriptionsStateIntegerValuesIndex
705VMSSUBSCRIPTIONSSTATEINTEGERVALUESINDEX_SEQUENCE_NUMBER = 0x1
706VMSSUBSCRIPTIONSSTATEINTEGERVALUESINDEX_NUMBER_OF_LAYERS = 0x2
707VMSSUBSCRIPTIONSSTATEINTEGERVALUESINDEX_NUMBER_OF_ASSOCIATED_LAYERS = 0x3
708VMSSUBSCRIPTIONSSTATEINTEGERVALUESINDEX_SUBSCRIPTIONS_START = 0x4
709
710# VmsAvailabilityStateIntegerValuesIndex
711VMSAVAILABILITYSTATEINTEGERVALUESINDEX_SEQUENCE_NUMBER = 0x1
712VMSAVAILABILITYSTATEINTEGERVALUESINDEX_NUMBER_OF_ASSOCIATED_LAYERS = 0x2
713VMSAVAILABILITYSTATEINTEGERVALUESINDEX_LAYERS_START = 0x3
714
715# VmsPublisherInformationIntegerValuesIndex
716VMSPUBLISHERINFORMATIONINTEGERVALUESINDEX_PUBLISHER_ID = 0x1
717
718# UserFlags
719USERFLAGS_NONE = 0x0
720USERFLAGS_SYSTEM = 0x1
721USERFLAGS_GUEST = 0x2
722USERFLAGS_EPHEMERAL = 0x4
723USERFLAGS_ADMIN = 0x8
724USERFLAGS_DISABLED = 0x10
725USERFLAGS_PROFILE = 0x20
726
727# InitialUserInfoRequestType
728INITIALUSERINFOREQUESTTYPE_FIRST_BOOT = 0x1
729INITIALUSERINFOREQUESTTYPE_FIRST_BOOT_AFTER_OTA = 0x2
730INITIALUSERINFOREQUESTTYPE_COLD_BOOT = 0x3
731INITIALUSERINFOREQUESTTYPE_RESUME = 0x4
732
733# InitialUserInfoResponseAction
734INITIALUSERINFORESPONSEACTION_DEFAULT = 0x0
735INITIALUSERINFORESPONSEACTION_SWITCH = 0x1
736INITIALUSERINFORESPONSEACTION_CREATE = 0x2
737
738# SwitchUserMessageType
739SWITCHUSERMESSAGETYPE_LEGACY_ANDROID_SWITCH = 0x1
740SWITCHUSERMESSAGETYPE_ANDROID_SWITCH = 0x2
741SWITCHUSERMESSAGETYPE_VEHICLE_RESPONSE = 0x3
742SWITCHUSERMESSAGETYPE_VEHICLE_REQUEST = 0x4
743SWITCHUSERMESSAGETYPE_ANDROID_POST_SWITCH = 0x5
744
745# SwitchUserStatus
746SWITCHUSERSTATUS_SUCCESS = 0x1
747SWITCHUSERSTATUS_FAILURE = 0x2
748
749# CreateUserStatus
750CREATEUSERSTATUS_SUCCESS = 0x1
751CREATEUSERSTATUS_FAILURE = 0x2
752
753# UserIdentificationAssociationType
754USERIDENTIFICATIONASSOCIATIONTYPE_KEY_FOB = 0x1
755USERIDENTIFICATIONASSOCIATIONTYPE_CUSTOM_1 = 0x65
756USERIDENTIFICATIONASSOCIATIONTYPE_CUSTOM_2 = 0x66
757USERIDENTIFICATIONASSOCIATIONTYPE_CUSTOM_3 = 0x67
758USERIDENTIFICATIONASSOCIATIONTYPE_CUSTOM_4 = 0x68
759
760# UserIdentificationAssociationValue
761USERIDENTIFICATIONASSOCIATIONVALUE_UNKNOWN = 0x1
762USERIDENTIFICATIONASSOCIATIONVALUE_ASSOCIATED_CURRENT_USER = 0x2
763USERIDENTIFICATIONASSOCIATIONVALUE_ASSOCIATED_ANOTHER_USER = 0x3
764USERIDENTIFICATIONASSOCIATIONVALUE_NOT_ASSOCIATED_ANY_USER = 0x4
765
766# UserIdentificationAssociationSetValue
767USERIDENTIFICATIONASSOCIATIONSETVALUE_ASSOCIATE_CURRENT_USER = 0x1
768USERIDENTIFICATIONASSOCIATIONSETVALUE_DISASSOCIATE_CURRENT_USER = 0x2
769USERIDENTIFICATIONASSOCIATIONSETVALUE_DISASSOCIATE_ALL_USERS = 0x3
770
771# RotaryInputType
772ROTARYINPUTTYPE_ROTARY_INPUT_TYPE_SYSTEM_NAVIGATION = 0x0
773ROTARYINPUTTYPE_ROTARY_INPUT_TYPE_AUDIO_VOLUME = 0x1
774
775# Create a container of value_type constants to be used by vhal_emulator
776class vhal_types_2_0:
777    TYPE_STRING  = [VEHICLEPROPERTYTYPE_STRING]
778    TYPE_BYTES   = [VEHICLEPROPERTYTYPE_BYTES]
779    TYPE_INT32   = [VEHICLEPROPERTYTYPE_BOOLEAN,
780                    VEHICLEPROPERTYTYPE_INT32]
781    TYPE_INT64   = [VEHICLEPROPERTYTYPE_INT64]
782    TYPE_FLOAT   = [VEHICLEPROPERTYTYPE_FLOAT]
783    TYPE_INT32S  = [VEHICLEPROPERTYTYPE_INT32_VEC]
784    TYPE_INT64S  = [VEHICLEPROPERTYTYPE_INT64_VEC]
785    TYPE_FLOATS  = [VEHICLEPROPERTYTYPE_FLOAT_VEC]
786    TYPE_MIXED   = [VEHICLEPROPERTYTYPE_MIXED]
787