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
300VEHICLEAPPOWERSTATECONFIGFLAG_ENABLE_HIBERNATION_FLAG = 0x4
301
302# VehicleApPowerStateReq
303VEHICLEAPPOWERSTATEREQ_ON = 0x0
304VEHICLEAPPOWERSTATEREQ_SHUTDOWN_PREPARE = 0x1
305VEHICLEAPPOWERSTATEREQ_CANCEL_SHUTDOWN = 0x2
306VEHICLEAPPOWERSTATEREQ_FINISHED = 0x3
307
308# VehicleApPowerStateReqIndex
309VEHICLEAPPOWERSTATEREQINDEX_STATE = 0x0
310VEHICLEAPPOWERSTATEREQINDEX_ADDITIONAL = 0x1
311
312# VehicleApPowerStateShutdownParam
313VEHICLEAPPOWERSTATESHUTDOWNPARAM_SHUTDOWN_IMMEDIATELY = 0x1
314VEHICLEAPPOWERSTATESHUTDOWNPARAM_CAN_SLEEP = 0x2
315VEHICLEAPPOWERSTATESHUTDOWNPARAM_SHUTDOWN_ONLY = 0x3
316VEHICLEAPPOWERSTATESHUTDOWNPARAM_SLEEP_IMMEDIATELY = 0x4
317
318# VehicleApPowerStateReport
319VEHICLEAPPOWERSTATEREPORT_WAIT_FOR_VHAL = 0x1
320VEHICLEAPPOWERSTATEREPORT_DEEP_SLEEP_ENTRY = 0x2
321VEHICLEAPPOWERSTATEREPORT_DEEP_SLEEP_EXIT = 0x3
322VEHICLEAPPOWERSTATEREPORT_SHUTDOWN_POSTPONE = 0x4
323VEHICLEAPPOWERSTATEREPORT_SHUTDOWN_START = 0x5
324VEHICLEAPPOWERSTATEREPORT_ON = 0x6
325VEHICLEAPPOWERSTATEREPORT_SHUTDOWN_PREPARE = 0x7
326VEHICLEAPPOWERSTATEREPORT_SHUTDOWN_CANCELLED = 0x8
327
328# VehicleHwKeyInputAction
329VEHICLEHWKEYINPUTACTION_ACTION_DOWN = 0x0
330VEHICLEHWKEYINPUTACTION_ACTION_UP = 0x1
331
332# VehicleDisplay
333VEHICLEDISPLAY_MAIN = 0x0
334VEHICLEDISPLAY_INSTRUMENT_CLUSTER = 0x1
335
336# VehicleUnit
337VEHICLEUNIT_SHOULD_NOT_USE = 0x0
338VEHICLEUNIT_METER_PER_SEC = 0x1
339VEHICLEUNIT_RPM = 0x2
340VEHICLEUNIT_HERTZ = 0x3
341VEHICLEUNIT_PERCENTILE = 0x10
342VEHICLEUNIT_MILLIMETER = 0x20
343VEHICLEUNIT_METER = 0x21
344VEHICLEUNIT_KILOMETER = 0x23
345VEHICLEUNIT_MILE = 0x24
346VEHICLEUNIT_CELSIUS = 0x30
347VEHICLEUNIT_FAHRENHEIT = 0x31
348VEHICLEUNIT_KELVIN = 0x32
349VEHICLEUNIT_MILLILITER = 0x40
350VEHICLEUNIT_LITER = 0x41
351VEHICLEUNIT_GALLON = 0x42
352VEHICLEUNIT_US_GALLON = 0x42
353VEHICLEUNIT_IMPERIAL_GALLON = 0x43
354VEHICLEUNIT_NANO_SECS = 0x50
355VEHICLEUNIT_SECS = 0x53
356VEHICLEUNIT_YEAR = 0x59
357VEHICLEUNIT_WATT_HOUR = 0x60
358VEHICLEUNIT_MILLIAMPERE = 0x61
359VEHICLEUNIT_MILLIVOLT = 0x62
360VEHICLEUNIT_MILLIWATTS = 0x63
361VEHICLEUNIT_AMPERE_HOURS = 0x64
362VEHICLEUNIT_KILOWATT_HOUR = 0x65
363VEHICLEUNIT_KILOPASCAL = 0x70
364VEHICLEUNIT_PSI = 0x71
365VEHICLEUNIT_BAR = 0x72
366VEHICLEUNIT_DEGREES = 0x80
367VEHICLEUNIT_MILES_PER_HOUR = 0x90
368VEHICLEUNIT_KILOMETERS_PER_HOUR = 0x91
369
370# VehiclePropertyChangeMode
371VEHICLEPROPERTYCHANGEMODE_STATIC = 0x0
372VEHICLEPROPERTYCHANGEMODE_ON_CHANGE = 0x1
373VEHICLEPROPERTYCHANGEMODE_CONTINUOUS = 0x2
374
375# VehiclePropertyAccess
376VEHICLEPROPERTYACCESS_NONE = 0x0
377VEHICLEPROPERTYACCESS_READ = 0x1
378VEHICLEPROPERTYACCESS_WRITE = 0x2
379VEHICLEPROPERTYACCESS_READ_WRITE = 0x3
380
381# VehiclePropertyStatus
382VEHICLEPROPERTYSTATUS_AVAILABLE = 0x0
383VEHICLEPROPERTYSTATUS_UNAVAILABLE = 0x1
384VEHICLEPROPERTYSTATUS_ERROR = 0x2
385
386# VehicleGear
387VEHICLEGEAR_GEAR_UNKNOWN = 0x0
388VEHICLEGEAR_GEAR_NEUTRAL = 0x1
389VEHICLEGEAR_GEAR_REVERSE = 0x2
390VEHICLEGEAR_GEAR_PARK = 0x4
391VEHICLEGEAR_GEAR_DRIVE = 0x8
392VEHICLEGEAR_GEAR_1 = 0x10
393VEHICLEGEAR_GEAR_2 = 0x20
394VEHICLEGEAR_GEAR_3 = 0x40
395VEHICLEGEAR_GEAR_4 = 0x80
396VEHICLEGEAR_GEAR_5 = 0x100
397VEHICLEGEAR_GEAR_6 = 0x200
398VEHICLEGEAR_GEAR_7 = 0x400
399VEHICLEGEAR_GEAR_8 = 0x800
400VEHICLEGEAR_GEAR_9 = 0x1000
401
402# VehicleAreaSeat
403VEHICLEAREASEAT_ROW_1_LEFT = 0x1
404VEHICLEAREASEAT_ROW_1_CENTER = 0x2
405VEHICLEAREASEAT_ROW_1_RIGHT = 0x4
406VEHICLEAREASEAT_ROW_2_LEFT = 0x10
407VEHICLEAREASEAT_ROW_2_CENTER = 0x20
408VEHICLEAREASEAT_ROW_2_RIGHT = 0x40
409VEHICLEAREASEAT_ROW_3_LEFT = 0x100
410VEHICLEAREASEAT_ROW_3_CENTER = 0x200
411VEHICLEAREASEAT_ROW_3_RIGHT = 0x400
412
413# VehicleAreaWindow
414VEHICLEAREAWINDOW_FRONT_WINDSHIELD = 0x1
415VEHICLEAREAWINDOW_REAR_WINDSHIELD = 0x2
416VEHICLEAREAWINDOW_ROW_1_LEFT = 0x10
417VEHICLEAREAWINDOW_ROW_1_RIGHT = 0x40
418VEHICLEAREAWINDOW_ROW_2_LEFT = 0x100
419VEHICLEAREAWINDOW_ROW_2_RIGHT = 0x400
420VEHICLEAREAWINDOW_ROW_3_LEFT = 0x1000
421VEHICLEAREAWINDOW_ROW_3_RIGHT = 0x4000
422VEHICLEAREAWINDOW_ROOF_TOP_1 = 0x10000
423VEHICLEAREAWINDOW_ROOF_TOP_2 = 0x20000
424
425# VehicleAreaDoor
426VEHICLEAREADOOR_ROW_1_LEFT = 0x1
427VEHICLEAREADOOR_ROW_1_RIGHT = 0x4
428VEHICLEAREADOOR_ROW_2_LEFT = 0x10
429VEHICLEAREADOOR_ROW_2_RIGHT = 0x40
430VEHICLEAREADOOR_ROW_3_LEFT = 0x100
431VEHICLEAREADOOR_ROW_3_RIGHT = 0x400
432VEHICLEAREADOOR_HOOD = 0x10000000
433VEHICLEAREADOOR_REAR = 0x20000000
434
435# VehicleAreaMirror
436VEHICLEAREAMIRROR_DRIVER_LEFT = 0x1
437VEHICLEAREAMIRROR_DRIVER_RIGHT = 0x2
438VEHICLEAREAMIRROR_DRIVER_CENTER = 0x4
439
440# VehicleTurnSignal
441VEHICLETURNSIGNAL_NONE = 0x0
442VEHICLETURNSIGNAL_RIGHT = 0x1
443VEHICLETURNSIGNAL_LEFT = 0x2
444
445# VehicleIgnitionState
446VEHICLEIGNITIONSTATE_UNDEFINED = 0x0
447VEHICLEIGNITIONSTATE_LOCK = 0x1
448VEHICLEIGNITIONSTATE_OFF = 0x2
449VEHICLEIGNITIONSTATE_ACC = 0x3
450VEHICLEIGNITIONSTATE_ON = 0x4
451VEHICLEIGNITIONSTATE_START = 0x5
452
453# SubscribeFlags
454SUBSCRIBEFLAGS_UNDEFINED = 0x0
455SUBSCRIBEFLAGS_EVENTS_FROM_CAR = 0x1
456SUBSCRIBEFLAGS_EVENTS_FROM_ANDROID = 0x2
457
458# StatusCode
459STATUSCODE_OK = 0x0
460STATUSCODE_TRY_AGAIN = 0x1
461STATUSCODE_INVALID_ARG = 0x2
462STATUSCODE_NOT_AVAILABLE = 0x3
463STATUSCODE_ACCESS_DENIED = 0x4
464STATUSCODE_INTERNAL_ERROR = 0x5
465
466# VehicleAreaWheel
467VEHICLEAREAWHEEL_UNKNOWN = 0x0
468VEHICLEAREAWHEEL_LEFT_FRONT = 0x1
469VEHICLEAREAWHEEL_RIGHT_FRONT = 0x2
470VEHICLEAREAWHEEL_LEFT_REAR = 0x4
471VEHICLEAREAWHEEL_RIGHT_REAR = 0x8
472
473# Obd2FuelSystemStatus
474OBD2FUELSYSTEMSTATUS_OPEN_INSUFFICIENT_ENGINE_TEMPERATURE = 0x1
475OBD2FUELSYSTEMSTATUS_CLOSED_LOOP = 0x2
476OBD2FUELSYSTEMSTATUS_OPEN_ENGINE_LOAD_OR_DECELERATION = 0x4
477OBD2FUELSYSTEMSTATUS_OPEN_SYSTEM_FAILURE = 0x8
478OBD2FUELSYSTEMSTATUS_CLOSED_LOOP_BUT_FEEDBACK_FAULT = 0x10
479
480# Obd2IgnitionMonitorKind
481OBD2IGNITIONMONITORKIND_SPARK = 0x0
482OBD2IGNITIONMONITORKIND_COMPRESSION = 0x1
483
484# Obd2CommonIgnitionMonitors
485OBD2COMMONIGNITIONMONITORS_COMPONENTS_AVAILABLE = 0x1
486OBD2COMMONIGNITIONMONITORS_COMPONENTS_INCOMPLETE = 0x2
487OBD2COMMONIGNITIONMONITORS_FUEL_SYSTEM_AVAILABLE = 0x4
488OBD2COMMONIGNITIONMONITORS_FUEL_SYSTEM_INCOMPLETE = 0x8
489OBD2COMMONIGNITIONMONITORS_MISFIRE_AVAILABLE = 0x10
490OBD2COMMONIGNITIONMONITORS_MISFIRE_INCOMPLETE = 0x20
491
492# Obd2SparkIgnitionMonitors
493OBD2SPARKIGNITIONMONITORS_EGR_AVAILABLE = 0x40
494OBD2SPARKIGNITIONMONITORS_EGR_INCOMPLETE = 0x80
495OBD2SPARKIGNITIONMONITORS_OXYGEN_SENSOR_HEATER_AVAILABLE = 0x100
496OBD2SPARKIGNITIONMONITORS_OXYGEN_SENSOR_HEATER_INCOMPLETE = 0x200
497OBD2SPARKIGNITIONMONITORS_OXYGEN_SENSOR_AVAILABLE = 0x400
498OBD2SPARKIGNITIONMONITORS_OXYGEN_SENSOR_INCOMPLETE = 0x800
499OBD2SPARKIGNITIONMONITORS_AC_REFRIGERANT_AVAILABLE = 0x1000
500OBD2SPARKIGNITIONMONITORS_AC_REFRIGERANT_INCOMPLETE = 0x2000
501OBD2SPARKIGNITIONMONITORS_SECONDARY_AIR_SYSTEM_AVAILABLE = 0x4000
502OBD2SPARKIGNITIONMONITORS_SECONDARY_AIR_SYSTEM_INCOMPLETE = 0x8000
503OBD2SPARKIGNITIONMONITORS_EVAPORATIVE_SYSTEM_AVAILABLE = 0x10000
504OBD2SPARKIGNITIONMONITORS_EVAPORATIVE_SYSTEM_INCOMPLETE = 0x20000
505OBD2SPARKIGNITIONMONITORS_HEATED_CATALYST_AVAILABLE = 0x40000
506OBD2SPARKIGNITIONMONITORS_HEATED_CATALYST_INCOMPLETE = 0x80000
507OBD2SPARKIGNITIONMONITORS_CATALYST_AVAILABLE = 0x100000
508OBD2SPARKIGNITIONMONITORS_CATALYST_INCOMPLETE = 0x200000
509
510# Obd2CompressionIgnitionMonitors
511OBD2COMPRESSIONIGNITIONMONITORS_EGR_OR_VVT_AVAILABLE = 0x40
512OBD2COMPRESSIONIGNITIONMONITORS_EGR_OR_VVT_INCOMPLETE = 0x80
513OBD2COMPRESSIONIGNITIONMONITORS_PM_FILTER_AVAILABLE = 0x100
514OBD2COMPRESSIONIGNITIONMONITORS_PM_FILTER_INCOMPLETE = 0x200
515OBD2COMPRESSIONIGNITIONMONITORS_EXHAUST_GAS_SENSOR_AVAILABLE = 0x400
516OBD2COMPRESSIONIGNITIONMONITORS_EXHAUST_GAS_SENSOR_INCOMPLETE = 0x800
517OBD2COMPRESSIONIGNITIONMONITORS_BOOST_PRESSURE_AVAILABLE = 0x1000
518OBD2COMPRESSIONIGNITIONMONITORS_BOOST_PRESSURE_INCOMPLETE = 0x2000
519OBD2COMPRESSIONIGNITIONMONITORS_NOx_SCR_AVAILABLE = 0x4000
520OBD2COMPRESSIONIGNITIONMONITORS_NOx_SCR_INCOMPLETE = 0x8000
521OBD2COMPRESSIONIGNITIONMONITORS_NMHC_CATALYST_AVAILABLE = 0x10000
522OBD2COMPRESSIONIGNITIONMONITORS_NMHC_CATALYST_INCOMPLETE = 0x20000
523
524# Obd2SecondaryAirStatus
525OBD2SECONDARYAIRSTATUS_UPSTREAM = 0x1
526OBD2SECONDARYAIRSTATUS_DOWNSTREAM_OF_CATALYCIC_CONVERTER = 0x2
527OBD2SECONDARYAIRSTATUS_FROM_OUTSIDE_OR_OFF = 0x4
528OBD2SECONDARYAIRSTATUS_PUMP_ON_FOR_DIAGNOSTICS = 0x8
529
530# Obd2FuelType
531OBD2FUELTYPE_NOT_AVAILABLE = 0x0
532OBD2FUELTYPE_GASOLINE = 0x1
533OBD2FUELTYPE_METHANOL = 0x2
534OBD2FUELTYPE_ETHANOL = 0x3
535OBD2FUELTYPE_DIESEL = 0x4
536OBD2FUELTYPE_LPG = 0x5
537OBD2FUELTYPE_CNG = 0x6
538OBD2FUELTYPE_PROPANE = 0x7
539OBD2FUELTYPE_ELECTRIC = 0x8
540OBD2FUELTYPE_BIFUEL_RUNNING_GASOLINE = 0x9
541OBD2FUELTYPE_BIFUEL_RUNNING_METHANOL = 0xa
542OBD2FUELTYPE_BIFUEL_RUNNING_ETHANOL = 0xb
543OBD2FUELTYPE_BIFUEL_RUNNING_LPG = 0xc
544OBD2FUELTYPE_BIFUEL_RUNNING_CNG = 0xd
545OBD2FUELTYPE_BIFUEL_RUNNING_PROPANE = 0xe
546OBD2FUELTYPE_BIFUEL_RUNNING_ELECTRIC = 0xf
547OBD2FUELTYPE_BIFUEL_RUNNING_ELECTRIC_AND_COMBUSTION = 0x10
548OBD2FUELTYPE_HYBRID_GASOLINE = 0x11
549OBD2FUELTYPE_HYBRID_ETHANOL = 0x12
550OBD2FUELTYPE_HYBRID_DIESEL = 0x13
551OBD2FUELTYPE_HYBRID_ELECTRIC = 0x14
552OBD2FUELTYPE_HYBRID_RUNNING_ELECTRIC_AND_COMBUSTION = 0x15
553OBD2FUELTYPE_HYBRID_REGENERATIVE = 0x16
554OBD2FUELTYPE_BIFUEL_RUNNING_DIESEL = 0x17
555
556# DiagnosticIntegerSensorIndex
557DIAGNOSTICINTEGERSENSORINDEX_FUEL_SYSTEM_STATUS = 0x0
558DIAGNOSTICINTEGERSENSORINDEX_MALFUNCTION_INDICATOR_LIGHT_ON = 0x1
559DIAGNOSTICINTEGERSENSORINDEX_IGNITION_MONITORS_SUPPORTED = 0x2
560DIAGNOSTICINTEGERSENSORINDEX_IGNITION_SPECIFIC_MONITORS = 0x3
561DIAGNOSTICINTEGERSENSORINDEX_INTAKE_AIR_TEMPERATURE = 0x4
562DIAGNOSTICINTEGERSENSORINDEX_COMMANDED_SECONDARY_AIR_STATUS = 0x5
563DIAGNOSTICINTEGERSENSORINDEX_NUM_OXYGEN_SENSORS_PRESENT = 0x6
564DIAGNOSTICINTEGERSENSORINDEX_RUNTIME_SINCE_ENGINE_START = 0x7
565DIAGNOSTICINTEGERSENSORINDEX_DISTANCE_TRAVELED_WITH_MALFUNCTION_INDICATOR_LIGHT_ON = 0x8
566DIAGNOSTICINTEGERSENSORINDEX_WARMUPS_SINCE_CODES_CLEARED = 0x9
567DIAGNOSTICINTEGERSENSORINDEX_DISTANCE_TRAVELED_SINCE_CODES_CLEARED = 0xa
568DIAGNOSTICINTEGERSENSORINDEX_ABSOLUTE_BAROMETRIC_PRESSURE = 0xb
569DIAGNOSTICINTEGERSENSORINDEX_CONTROL_MODULE_VOLTAGE = 0xc
570DIAGNOSTICINTEGERSENSORINDEX_AMBIENT_AIR_TEMPERATURE = 0xd
571DIAGNOSTICINTEGERSENSORINDEX_TIME_WITH_MALFUNCTION_LIGHT_ON = 0xe
572DIAGNOSTICINTEGERSENSORINDEX_TIME_SINCE_TROUBLE_CODES_CLEARED = 0xf
573DIAGNOSTICINTEGERSENSORINDEX_MAX_FUEL_AIR_EQUIVALENCE_RATIO = 0x10
574DIAGNOSTICINTEGERSENSORINDEX_MAX_OXYGEN_SENSOR_VOLTAGE = 0x11
575DIAGNOSTICINTEGERSENSORINDEX_MAX_OXYGEN_SENSOR_CURRENT = 0x12
576DIAGNOSTICINTEGERSENSORINDEX_MAX_INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 0x13
577DIAGNOSTICINTEGERSENSORINDEX_MAX_AIR_FLOW_RATE_FROM_MASS_AIR_FLOW_SENSOR = 0x14
578DIAGNOSTICINTEGERSENSORINDEX_FUEL_TYPE = 0x15
579DIAGNOSTICINTEGERSENSORINDEX_FUEL_RAIL_ABSOLUTE_PRESSURE = 0x16
580DIAGNOSTICINTEGERSENSORINDEX_ENGINE_OIL_TEMPERATURE = 0x17
581DIAGNOSTICINTEGERSENSORINDEX_DRIVER_DEMAND_PERCENT_TORQUE = 0x18
582DIAGNOSTICINTEGERSENSORINDEX_ENGINE_ACTUAL_PERCENT_TORQUE = 0x19
583DIAGNOSTICINTEGERSENSORINDEX_ENGINE_REFERENCE_PERCENT_TORQUE = 0x1a
584DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_IDLE = 0x1b
585DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_POINT1 = 0x1c
586DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_POINT2 = 0x1d
587DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_POINT3 = 0x1e
588DIAGNOSTICINTEGERSENSORINDEX_ENGINE_PERCENT_TORQUE_DATA_POINT4 = 0x1f
589DIAGNOSTICINTEGERSENSORINDEX_LAST_SYSTEM_INDEX = 0x1f
590
591# DiagnosticFloatSensorIndex
592DIAGNOSTICFLOATSENSORINDEX_CALCULATED_ENGINE_LOAD = 0x0
593DIAGNOSTICFLOATSENSORINDEX_ENGINE_COOLANT_TEMPERATURE = 0x1
594DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_FUEL_TRIM_BANK1 = 0x2
595DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_FUEL_TRIM_BANK1 = 0x3
596DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_FUEL_TRIM_BANK2 = 0x4
597DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_FUEL_TRIM_BANK2 = 0x5
598DIAGNOSTICFLOATSENSORINDEX_FUEL_PRESSURE = 0x6
599DIAGNOSTICFLOATSENSORINDEX_INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 0x7
600DIAGNOSTICFLOATSENSORINDEX_ENGINE_RPM = 0x8
601DIAGNOSTICFLOATSENSORINDEX_VEHICLE_SPEED = 0x9
602DIAGNOSTICFLOATSENSORINDEX_TIMING_ADVANCE = 0xa
603DIAGNOSTICFLOATSENSORINDEX_MAF_AIR_FLOW_RATE = 0xb
604DIAGNOSTICFLOATSENSORINDEX_THROTTLE_POSITION = 0xc
605DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR1_VOLTAGE = 0xd
606DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR1_SHORT_TERM_FUEL_TRIM = 0xe
607DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR1_FUEL_AIR_EQUIVALENCE_RATIO = 0xf
608DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR2_VOLTAGE = 0x10
609DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR2_SHORT_TERM_FUEL_TRIM = 0x11
610DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR2_FUEL_AIR_EQUIVALENCE_RATIO = 0x12
611DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR3_VOLTAGE = 0x13
612DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR3_SHORT_TERM_FUEL_TRIM = 0x14
613DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR3_FUEL_AIR_EQUIVALENCE_RATIO = 0x15
614DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR4_VOLTAGE = 0x16
615DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR4_SHORT_TERM_FUEL_TRIM = 0x17
616DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR4_FUEL_AIR_EQUIVALENCE_RATIO = 0x18
617DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR5_VOLTAGE = 0x19
618DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR5_SHORT_TERM_FUEL_TRIM = 0x1a
619DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR5_FUEL_AIR_EQUIVALENCE_RATIO = 0x1b
620DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR6_VOLTAGE = 0x1c
621DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR6_SHORT_TERM_FUEL_TRIM = 0x1d
622DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR6_FUEL_AIR_EQUIVALENCE_RATIO = 0x1e
623DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR7_VOLTAGE = 0x1f
624DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR7_SHORT_TERM_FUEL_TRIM = 0x20
625DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR7_FUEL_AIR_EQUIVALENCE_RATIO = 0x21
626DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR8_VOLTAGE = 0x22
627DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR8_SHORT_TERM_FUEL_TRIM = 0x23
628DIAGNOSTICFLOATSENSORINDEX_OXYGEN_SENSOR8_FUEL_AIR_EQUIVALENCE_RATIO = 0x24
629DIAGNOSTICFLOATSENSORINDEX_FUEL_RAIL_PRESSURE = 0x25
630DIAGNOSTICFLOATSENSORINDEX_FUEL_RAIL_GAUGE_PRESSURE = 0x26
631DIAGNOSTICFLOATSENSORINDEX_COMMANDED_EXHAUST_GAS_RECIRCULATION = 0x27
632DIAGNOSTICFLOATSENSORINDEX_EXHAUST_GAS_RECIRCULATION_ERROR = 0x28
633DIAGNOSTICFLOATSENSORINDEX_COMMANDED_EVAPORATIVE_PURGE = 0x29
634DIAGNOSTICFLOATSENSORINDEX_FUEL_TANK_LEVEL_INPUT = 0x2a
635DIAGNOSTICFLOATSENSORINDEX_EVAPORATION_SYSTEM_VAPOR_PRESSURE = 0x2b
636DIAGNOSTICFLOATSENSORINDEX_CATALYST_TEMPERATURE_BANK1_SENSOR1 = 0x2c
637DIAGNOSTICFLOATSENSORINDEX_CATALYST_TEMPERATURE_BANK2_SENSOR1 = 0x2d
638DIAGNOSTICFLOATSENSORINDEX_CATALYST_TEMPERATURE_BANK1_SENSOR2 = 0x2e
639DIAGNOSTICFLOATSENSORINDEX_CATALYST_TEMPERATURE_BANK2_SENSOR2 = 0x2f
640DIAGNOSTICFLOATSENSORINDEX_ABSOLUTE_LOAD_VALUE = 0x30
641DIAGNOSTICFLOATSENSORINDEX_FUEL_AIR_COMMANDED_EQUIVALENCE_RATIO = 0x31
642DIAGNOSTICFLOATSENSORINDEX_RELATIVE_THROTTLE_POSITION = 0x32
643DIAGNOSTICFLOATSENSORINDEX_ABSOLUTE_THROTTLE_POSITION_B = 0x33
644DIAGNOSTICFLOATSENSORINDEX_ABSOLUTE_THROTTLE_POSITION_C = 0x34
645DIAGNOSTICFLOATSENSORINDEX_ACCELERATOR_PEDAL_POSITION_D = 0x35
646DIAGNOSTICFLOATSENSORINDEX_ACCELERATOR_PEDAL_POSITION_E = 0x36
647DIAGNOSTICFLOATSENSORINDEX_ACCELERATOR_PEDAL_POSITION_F = 0x37
648DIAGNOSTICFLOATSENSORINDEX_COMMANDED_THROTTLE_ACTUATOR = 0x38
649DIAGNOSTICFLOATSENSORINDEX_ETHANOL_FUEL_PERCENTAGE = 0x39
650DIAGNOSTICFLOATSENSORINDEX_ABSOLUTE_EVAPORATION_SYSTEM_VAPOR_PRESSURE = 0x3a
651DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1 = 0x3b
652DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2 = 0x3c
653DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3 = 0x3d
654DIAGNOSTICFLOATSENSORINDEX_SHORT_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4 = 0x3e
655DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK1 = 0x3f
656DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK2 = 0x40
657DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK3 = 0x41
658DIAGNOSTICFLOATSENSORINDEX_LONG_TERM_SECONDARY_OXYGEN_SENSOR_TRIM_BANK4 = 0x42
659DIAGNOSTICFLOATSENSORINDEX_RELATIVE_ACCELERATOR_PEDAL_POSITION = 0x43
660DIAGNOSTICFLOATSENSORINDEX_HYBRID_BATTERY_PACK_REMAINING_LIFE = 0x44
661DIAGNOSTICFLOATSENSORINDEX_FUEL_INJECTION_TIMING = 0x45
662DIAGNOSTICFLOATSENSORINDEX_ENGINE_FUEL_RATE = 0x46
663DIAGNOSTICFLOATSENSORINDEX_LAST_SYSTEM_INDEX = 0x46
664
665# VmsMessageType
666VMSMESSAGETYPE_SUBSCRIBE = 0x1
667VMSMESSAGETYPE_SUBSCRIBE_TO_PUBLISHER = 0x2
668VMSMESSAGETYPE_UNSUBSCRIBE = 0x3
669VMSMESSAGETYPE_UNSUBSCRIBE_TO_PUBLISHER = 0x4
670VMSMESSAGETYPE_OFFERING = 0x5
671VMSMESSAGETYPE_AVAILABILITY_REQUEST = 0x6
672VMSMESSAGETYPE_SUBSCRIPTIONS_REQUEST = 0x7
673VMSMESSAGETYPE_AVAILABILITY_RESPONSE = 0x8
674VMSMESSAGETYPE_AVAILABILITY_CHANGE = 0x9
675VMSMESSAGETYPE_SUBSCRIPTIONS_RESPONSE = 0xa
676VMSMESSAGETYPE_SUBSCRIPTIONS_CHANGE = 0xb
677VMSMESSAGETYPE_DATA = 0xc
678VMSMESSAGETYPE_PUBLISHER_ID_REQUEST = 0xd
679VMSMESSAGETYPE_PUBLISHER_ID_RESPONSE = 0xe
680VMSMESSAGETYPE_PUBLISHER_INFORMATION_REQUEST = 0xf
681VMSMESSAGETYPE_PUBLISHER_INFORMATION_RESPONSE = 0x10
682VMSMESSAGETYPE_START_SESSION = 0x11
683VMSMESSAGETYPE_LAST_VMS_MESSAGE_TYPE = 0x11
684
685# VmsBaseMessageIntegerValuesIndex
686VMSBASEMESSAGEINTEGERVALUESINDEX_MESSAGE_TYPE = 0x0
687
688# VmsStartSessionMessageIntegerValuesIndex
689VMSSTARTSESSIONMESSAGEINTEGERVALUESINDEX_SERVICE_ID = 0x1
690VMSSTARTSESSIONMESSAGEINTEGERVALUESINDEX_CLIENT_ID = 0x2
691
692# VmsMessageWithLayerIntegerValuesIndex
693VMSMESSAGEWITHLAYERINTEGERVALUESINDEX_LAYER_TYPE = 0x1
694VMSMESSAGEWITHLAYERINTEGERVALUESINDEX_LAYER_SUBTYPE = 0x2
695VMSMESSAGEWITHLAYERINTEGERVALUESINDEX_LAYER_VERSION = 0x3
696
697# VmsMessageWithLayerAndPublisherIdIntegerValuesIndex
698VMSMESSAGEWITHLAYERANDPUBLISHERIDINTEGERVALUESINDEX_PUBLISHER_ID = 0x4
699
700# VmsOfferingMessageIntegerValuesIndex
701VMSOFFERINGMESSAGEINTEGERVALUESINDEX_PUBLISHER_ID = 0x1
702VMSOFFERINGMESSAGEINTEGERVALUESINDEX_NUMBER_OF_OFFERS = 0x2
703VMSOFFERINGMESSAGEINTEGERVALUESINDEX_OFFERING_START = 0x3
704
705# VmsSubscriptionsStateIntegerValuesIndex
706VMSSUBSCRIPTIONSSTATEINTEGERVALUESINDEX_SEQUENCE_NUMBER = 0x1
707VMSSUBSCRIPTIONSSTATEINTEGERVALUESINDEX_NUMBER_OF_LAYERS = 0x2
708VMSSUBSCRIPTIONSSTATEINTEGERVALUESINDEX_NUMBER_OF_ASSOCIATED_LAYERS = 0x3
709VMSSUBSCRIPTIONSSTATEINTEGERVALUESINDEX_SUBSCRIPTIONS_START = 0x4
710
711# VmsAvailabilityStateIntegerValuesIndex
712VMSAVAILABILITYSTATEINTEGERVALUESINDEX_SEQUENCE_NUMBER = 0x1
713VMSAVAILABILITYSTATEINTEGERVALUESINDEX_NUMBER_OF_ASSOCIATED_LAYERS = 0x2
714VMSAVAILABILITYSTATEINTEGERVALUESINDEX_LAYERS_START = 0x3
715
716# VmsPublisherInformationIntegerValuesIndex
717VMSPUBLISHERINFORMATIONINTEGERVALUESINDEX_PUBLISHER_ID = 0x1
718
719# UserFlags
720USERFLAGS_NONE = 0x0
721USERFLAGS_SYSTEM = 0x1
722USERFLAGS_GUEST = 0x2
723USERFLAGS_EPHEMERAL = 0x4
724USERFLAGS_ADMIN = 0x8
725USERFLAGS_DISABLED = 0x10
726USERFLAGS_PROFILE = 0x20
727
728# InitialUserInfoRequestType
729INITIALUSERINFOREQUESTTYPE_FIRST_BOOT = 0x1
730INITIALUSERINFOREQUESTTYPE_FIRST_BOOT_AFTER_OTA = 0x2
731INITIALUSERINFOREQUESTTYPE_COLD_BOOT = 0x3
732INITIALUSERINFOREQUESTTYPE_RESUME = 0x4
733
734# InitialUserInfoResponseAction
735INITIALUSERINFORESPONSEACTION_DEFAULT = 0x0
736INITIALUSERINFORESPONSEACTION_SWITCH = 0x1
737INITIALUSERINFORESPONSEACTION_CREATE = 0x2
738
739# SwitchUserMessageType
740SWITCHUSERMESSAGETYPE_LEGACY_ANDROID_SWITCH = 0x1
741SWITCHUSERMESSAGETYPE_ANDROID_SWITCH = 0x2
742SWITCHUSERMESSAGETYPE_VEHICLE_RESPONSE = 0x3
743SWITCHUSERMESSAGETYPE_VEHICLE_REQUEST = 0x4
744SWITCHUSERMESSAGETYPE_ANDROID_POST_SWITCH = 0x5
745
746# SwitchUserStatus
747SWITCHUSERSTATUS_SUCCESS = 0x1
748SWITCHUSERSTATUS_FAILURE = 0x2
749
750# CreateUserStatus
751CREATEUSERSTATUS_SUCCESS = 0x1
752CREATEUSERSTATUS_FAILURE = 0x2
753
754# UserIdentificationAssociationType
755USERIDENTIFICATIONASSOCIATIONTYPE_KEY_FOB = 0x1
756USERIDENTIFICATIONASSOCIATIONTYPE_CUSTOM_1 = 0x65
757USERIDENTIFICATIONASSOCIATIONTYPE_CUSTOM_2 = 0x66
758USERIDENTIFICATIONASSOCIATIONTYPE_CUSTOM_3 = 0x67
759USERIDENTIFICATIONASSOCIATIONTYPE_CUSTOM_4 = 0x68
760
761# UserIdentificationAssociationValue
762USERIDENTIFICATIONASSOCIATIONVALUE_UNKNOWN = 0x1
763USERIDENTIFICATIONASSOCIATIONVALUE_ASSOCIATED_CURRENT_USER = 0x2
764USERIDENTIFICATIONASSOCIATIONVALUE_ASSOCIATED_ANOTHER_USER = 0x3
765USERIDENTIFICATIONASSOCIATIONVALUE_NOT_ASSOCIATED_ANY_USER = 0x4
766
767# UserIdentificationAssociationSetValue
768USERIDENTIFICATIONASSOCIATIONSETVALUE_ASSOCIATE_CURRENT_USER = 0x1
769USERIDENTIFICATIONASSOCIATIONSETVALUE_DISASSOCIATE_CURRENT_USER = 0x2
770USERIDENTIFICATIONASSOCIATIONSETVALUE_DISASSOCIATE_ALL_USERS = 0x3
771
772# RotaryInputType
773ROTARYINPUTTYPE_ROTARY_INPUT_TYPE_SYSTEM_NAVIGATION = 0x0
774ROTARYINPUTTYPE_ROTARY_INPUT_TYPE_AUDIO_VOLUME = 0x1
775
776# Create a container of value_type constants to be used by vhal_emulator
777class vhal_types_2_0:
778    TYPE_STRING  = [VEHICLEPROPERTYTYPE_STRING]
779    TYPE_BYTES   = [VEHICLEPROPERTYTYPE_BYTES]
780    TYPE_INT32   = [VEHICLEPROPERTYTYPE_BOOLEAN,
781                    VEHICLEPROPERTYTYPE_INT32]
782    TYPE_INT64   = [VEHICLEPROPERTYTYPE_INT64]
783    TYPE_FLOAT   = [VEHICLEPROPERTYTYPE_FLOAT]
784    TYPE_INT32S  = [VEHICLEPROPERTYTYPE_INT32_VEC]
785    TYPE_INT64S  = [VEHICLEPROPERTYTYPE_INT64_VEC]
786    TYPE_FLOATS  = [VEHICLEPROPERTYTYPE_FLOAT_VEC]
787    TYPE_MIXED   = [VEHICLEPROPERTYTYPE_MIXED]
788