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