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