Add Threshold bit to sensor capabilites
[3:2] Sensor Threshold Access Support
00 - No thresholds
01 - Thresholds are readable
10 - Thresholds are readable and setable
Change-Id: I8ba1ca4fd108b530c3c1c6637636c5a8ae5682d4
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/sensorcommands.cpp b/src/sensorcommands.cpp
index 4b68d83..cdee840 100644
--- a/src/sensorcommands.cpp
+++ b/src/sensorcommands.cpp
@@ -1006,7 +1006,7 @@
record.body.entity_id = 0x0;
record.body.entity_instance = 0x01;
- record.body.sensor_capabilities = 0x60; // auto rearm - todo hysteresis
+ record.body.sensor_capabilities = 0x68; // auto rearm - todo hysteresis
record.body.sensor_type = getSensorTypeFromPath(path);
std::string type = getSensorTypeStringFromPath(path);
auto typeCstr = type.c_str();