Vehicle properties
Vehicle Map Service
VEHICLE_MAP_SERVICE
What it is
Vehicle Maps Service (VMS) message
This property uses MIXED data to communicate vms messages.
Its contents are to be interpreted as follows: the indices defined in VmsMessageIntegerValuesIndex are to be used to read from int32Values; bytes is a serialized VMS message as defined in the vms protocol which is opaque to the framework;
IVehicle#get must always return StatusCode::NOT_AVAILABLE.
How the ID is built
A property ID is a 32-bit value packing four fields. Reading 0x11e00c00 apart:
| Field | Mask | Value | Means |
|---|---|---|---|
| Group | 0xf0000000 | 0x10000000 | SYSTEM |
| Area | 0x0f000000 | 0x01000000 | GLOBAL |
| Type | 0x00ff0000 | 0x00e00000 | MIXED |
| Ordinal | 0x0000ffff | 0x00000c00 | 0xc00 |
Reading it from an app
CarPropertyManager mgr = (CarPropertyManager)
car.getCarManager(Car.PROPERTY_SERVICE);
CarPropertyValue<Object> value =
mgr.getProperty(VehiclePropertyIds.VEHICLE_MAP_SERVICE, 0);This property can be read and written, though an OEM may implement it as read-only. It fires a callback whenever the value changes.

