Add Lidar sensor type 57/267957/1
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:37:24 +0000 (02:37 +0000)
Change-Id: Ie42207e20af761da33bad3ce7073c4d9bd3e259f
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
(cherry picked from commit 7fdc39e770fb8cde11685b0c1ea6fd5a57dc413a)

include/sensor_types.h
src/shared/sensor_utils.cpp

index 6a4756a..6c6315e 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 000f2ed..58a5978 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"},