Add Lidar sensor type 26/267926/2
authortaemin.yeom <taemin.yeom@samsung.com>
Mon, 13 Dec 2021 09:29:52 +0000 (18:29 +0900)
committertaemin.yeom <taemin.yeom@samsung.com>
Tue, 14 Dec 2021 02:04:13 +0000 (11:04 +0900)
Change-Id: Ie42207e20af761da33bad3ce7073c4d9bd3e259f
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
include/sensor_types.h
src/shared/sensor_utils.cpp

index 6a4756ad672ade1590f0da76c2c0d5271b80ff3e..6c6315ef84dbce457abf45960d788502c142d774 100644 (file)
@@ -107,6 +107,8 @@ typedef enum sensor_type_t {
        HUMAN_STRESS_MONITOR_SENSOR,
        STRESS_MONITOR_SENSOR = HUMAN_STRESS_MONITOR_SENSOR,
 
+       LIDAR_SENSOR = 1000,
+
        EXERCISE_WALKING_SENSOR = 0x400, //1024
        EXERCISE_RUNNING_SENSOR,
        EXERCISE_HIKING_SENSOR,
index 000f2ed17fa78b45e8802938ac4505953a194218..58a5978372dfeb7e1c50c6216444dcaa3fe078dc 100644 (file)
@@ -74,6 +74,8 @@ static std::map<sensor_type_t, const char *> types = {
        {HUMAN_SLEEP_DETECTOR_SENSOR,    "http://tizen.org/sensor/healthinfo/human_sleep_detector"},
        {HUMAN_STRESS_MONITOR_SENSOR,    "http://tizen.org/sensor/healthinfo/human_stress_monitor"},
 
+       {LIDAR_SENSOR,                   "http://tizen.org/sensor/general/lidar"},
+
        {EXERCISE_WALKING_SENSOR,        "http://tizen.org/sensor/healthinfo/exercise.walking"},
        {EXERCISE_RUNNING_SENSOR,        "http://tizen.org/sensor/healthinfo/exercise.running"},
        {EXERCISE_HIKING_SENSOR,         "http://tizen.org/sensor/healthinfo/exercise.hiking"},