Add HRM_LED_GREEN_BATCH_SENSOR sensor 92/227492/1 accepted/tizen/5.5/unified/20200316.155212 submit/tizen_5.5/20200315.023748
authorBoram Bae <boram21.bae@samsung.com>
Thu, 12 Mar 2020 06:46:26 +0000 (15:46 +0900)
committerBoram Bae <boram21.bae@samsung.com>
Thu, 12 Mar 2020 06:47:13 +0000 (15:47 +0900)
Change-Id: I4eaaee0242374857874ca6e2195c0ebde8f5f6b5
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
include/sensor_hal_types.h
include/sensor_types.h
src/shared/message.h
src/shared/sensor_utils.cpp

index 2b00348..d6a66f1 100644 (file)
@@ -73,6 +73,7 @@ typedef enum {
        SENSOR_DEVICE_SIGNIFICANT_MOTION = 0x100,
 
        SENSOR_DEVICE_HRM_BATCH = 0x200,
+       SENSOR_DEVICE_HRM_LED_GREEN_BATCH,
 
        SENSOR_DEVICE_HUMAN_PEDOMETER = 0x300,
        SENSOR_DEVICE_HUMAN_SLEEP_MONITOR,
index d7bb070..265c30d 100644 (file)
@@ -95,6 +95,7 @@ typedef enum sensor_type_t {
        SIGNIFICANT_MOTION_SENSOR = 0x100,
 
        HRM_BATCH_SENSOR = 0x200,
+       HRM_LED_GREEN_BATCH_SENSOR,
 
        HUMAN_PEDOMETER_SENSOR = 0x300,
        HUMAN_SLEEP_MONITOR_SENSOR,
index d9ac2eb..5687c2c 100644 (file)
@@ -24,7 +24,7 @@
 #include <atomic>
 #include <memory>
 
-#define MAX_MSG_CAPACITY (16*1024)
+#define MAX_MSG_CAPACITY (32*1024)
 #define MAX_HEADER_RESERVED 3
 
 namespace ipc {
index 1d589d6..eb4a562 100644 (file)
@@ -65,6 +65,7 @@ static std::map<sensor_type_t, const char *> types = {
        {SIGNIFICANT_MOTION_SENSOR,      "http://tizen.org/sensor/general/significant_motion"},
 
        {HRM_BATCH_SENSOR,               "http://tizen.org/sensor/healthinfo/hrm_batch"},
+       {HRM_LED_GREEN_BATCH_SENSOR,     "http://tizen.org/sensor/healthinfo/hrm_led_green_batch"},
 
        {HUMAN_PEDOMETER_SENSOR,         "http://tizen.org/sensor/healthinfo/human_pedometer"},
        {HUMAN_SLEEP_MONITOR_SENSOR,     "http://tizen.org/sensor/healthinfo/human_sleep_monitor"},