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:
32d5113
)
Add power state attribute enum
68/268368/3
accepted/tizen/unified/20211224.144836
submit/tizen/20211222.081021
author
taemin.yeom
<taemin.yeom@samsung.com>
Wed, 22 Dec 2021 01:28:59 +0000
(10:28 +0900)
committer
taemin.yeom
<taemin.yeom@samsung.com>
Wed, 22 Dec 2021 06:47:37 +0000
(15:47 +0900)
Change-Id: I9d2c09a432a86f50b7c3c6558129713a35b6f4c3
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
include/hal-sensor-types.h
patch
|
blob
|
history
diff --git
a/include/hal-sensor-types.h
b/include/hal-sensor-types.h
index 2c1949ca127dbc28de205ac83690bb6615950223..32c3f201877a264e6f022375144e6ee8f9a9fa0a 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,