Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19345474 authored by Ashutosh Joshi's avatar Ashutosh Joshi
Browse files

Add new CHRE sensor types.

Add new CHRE sensor types:
      i) Stationay detect sensor.
     ii) Instant motion detect sensor.
    iii) Reserved space for WWAN sensor types

Test: Run update makefiles.
Change-Id: I1e96b8614f88653d918d8cfa5fa86170e1a5dac3
parent 0d0b6833
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -51,6 +51,8 @@ enum SensorType : uint32_t {
    BAROMETER,
    PROXIMITY_SENSOR,
    AMBIENT_LIGHT_SENSOR,
    STATIONARY_DETECT,
    INSTANT_MOTION_DETECT,

    GPS = 0x100,
    // Reserving this space for variants on GPS
@@ -65,6 +67,10 @@ enum SensorType : uint32_t {
    // Reserving this space for variants on Camera

    BLE = 0x500,
    // Reserving this space for variants on Bluetooth Low Energy

    WWAN = 0x600,
    // Reserving this space for variants on WWAN

    PRIVATE_SENSOR_BASE = 0x10000,
    // Sensor types beyond PRIVATE_SENSOR_BASE are custom types