sensord: use underscore(_) instead of dot(.) for URI string 83/125083/1
authorkibak.yoon <seseki17@gmail.com>
Thu, 13 Apr 2017 15:31:56 +0000 (00:31 +0900)
committerkibak.yoon <seseki17@gmail.com>
Thu, 13 Apr 2017 15:31:56 +0000 (00:31 +0900)
- [TBD] discuss what is the better

Change-Id: I6c41cc4eca22062159734ebfae422f9da0ce7c04
Signed-off-by: kibak.yoon <seseki17@gmail.com>
src/shared/sensor_utils.cpp

index 6ef0504..817eb31 100644 (file)
@@ -52,13 +52,13 @@ static std::map<sensor_type_t, const char *> types = {
        {TEMPERATURE_SENSOR,             "http://tizen.org/sensor/temperature"},
        {HUMIDITY_SENSOR,                "http://tizen.org/sensor/humidity"},
        {HRM_SENSOR,                     "http://tizen.org/sensor/heart_rate_monitor"},
-       {HRM_LED_GREEN_SENSOR,           "http://tizen.org/sensor/hrm.led_green"},
-       {HRM_LED_IR_SENSOR,              "http://tizen.org/sensor/hrm.led_ir"},
-       {HRM_LED_RED_SENSOR,             "http://tizen.org/sensor/hrm.led_red"},
-       {GYROSCOPE_UNCAL_SENSOR,         "http://tizen.org/sensor/gyroscope.uncalibrated"},
-       {GEOMAGNETIC_UNCAL_SENSOR,       "http://tizen.org/sensor/geomagnetic.uncalibrated"},
-       {GYROSCOPE_RV_SENSOR,            "http://tizen.org/sensor/rotation_vector.gyroscope"},
-       {GEOMAGNETIC_RV_SENSOR,          "http://tizen.org/sensor/rotation_vector.geomagnetic"},
+       {HRM_LED_GREEN_SENSOR,           "http://tizen.org/sensor/hrm_led_green"},
+       {HRM_LED_IR_SENSOR,              "http://tizen.org/sensor/hrm_led_ir"},
+       {HRM_LED_RED_SENSOR,             "http://tizen.org/sensor/hrm_led_red"},
+       {GYROSCOPE_UNCAL_SENSOR,         "http://tizen.org/sensor/gyro_uncalibrated"},
+       {GEOMAGNETIC_UNCAL_SENSOR,       "http://tizen.org/sensor/mag_uncalibrated"},
+       {GYROSCOPE_RV_SENSOR,            "http://tizen.org/sensor/gyro_rotation_vector"},
+       {GEOMAGNETIC_RV_SENSOR,          "http://tizen.org/sensor/mag_rotation_vector"},
 
        {HUMAN_PEDOMETER_SENSOR,         "http://tizen.org/sensor/human_pedometer"},
        {HUMAN_SLEEP_MONITOR_SENSOR,     "http://tizen.org/sensor/human_sleep_monitor"},