Add TURN_SIGNAL_STATE to enum VehicleProperty

While we have defined values for turn signal state, we were missing
a property id to allow it to be reported by the vehicle.

Test: local build
Change-Id: Ib741c717f62df8edaa187413e9114411c55b0420
This commit is contained in:
Scott Randolph
2016-11-07 17:26:29 -08:00
parent a36e4c27f5
commit ebce8fc9a8

View File

@@ -295,6 +295,20 @@ enum VehicleProperty: int32_t {
| VehiclePropertyType:BOOLEAN
| VehicleArea:GLOBAL),
/*
* State of the vehicles turn signals
*
* Values from VehicleTurnSignal
*
* @change_mode VehiclePropertyChangeMode:ON_CHANGE
* @access VehiclePropertyAccess:READ
*/
TURN_SIGNAL_STATE = (
0x0408
| VehiclePropertyGroup:SYSTEM
| VehiclePropertyType:INT32
| VehicleArea:GLOBAL),
/*
* Fan speed setting
*
@@ -2420,8 +2434,9 @@ enum SubscribeFlags {
UNDEFINED = 0x0,
/*
* Subscribe to event that was originated in vehicle HAL (most luckly this
* event came from vehicle itself). */
* Subscribe to event that was originated in vehicle HAL
* (most likely this event came from the vehicle itself).
*/
HAL_EVENT = 0x1,
/*
@@ -2457,9 +2472,7 @@ struct SubscribeOptions {
*/
float sampleRate;
/*
* Flags that indicates what kind of events listen to.
*/
/* Flags that indicate what kind of events listen to. */
SubscribeFlags flags;
};