projects
/
platform
/
hal
/
api
/
sensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
985dd0a
)
Add power state attribute enum
92/268392/1
accepted/tizen/6.5/unified/20211223.131256
submit/tizen_6.5/20211222.073549
submit/tizen_6.5/20211222.074647
submit/tizen_6.5/20211222.080028
author
taemin.yeom
<taemin.yeom@samsung.com>
Wed, 22 Dec 2021 01:28:59 +0000
(10:28 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Wed, 22 Dec 2021 06:57:13 +0000
(06:57 +0000)
Change-Id: I9d2c09a432a86f50b7c3c6558129713a35b6f4c3
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
(cherry picked from commit
e02e17cd5412e1f7b31d6ec5da06a84e8f77db1f
)
include/hal-sensor-types.h
patch
|
blob
|
history
diff --git
a/include/hal-sensor-types.h
b/include/hal-sensor-types.h
index
2c1949c
..
32c3f20
100644
(file)
--- a/
include/hal-sensor-types.h
+++ b/
include/hal-sensor-types.h
@@
-523,6
+523,11
@@
enum sensor_attribute {
CONVERT_TYPE_ATTR(SENSOR_DEVICE_FALL_DETECTION, 0x1),
};
+enum sensor_attribute_common {
+ SENSOR_ATTR_COMMON_START = 0x1000000,
+ SENSOR_ATTR_POWER_STATE = SENSOR_ATTR_COMMON_START + 10001,
+};
+
enum sensor_activity {
SENSOR_ACTIVITY_UNKNOWN = 1,
SENSOR_ACTIVITY_STILL = 2,