Add orientation sensor type 01/263301/4 accepted/tizen/6.5/unified/20211028.101218 accepted/tizen/unified/20210917.124827 submit/tizen/20210916.054029 submit/tizen_6.5/20211028.161801 tizen_6.5.m2_release
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 31 Aug 2021 06:30:08 +0000 (15:30 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Wed, 1 Sep 2021 09:50:50 +0000 (18:50 +0900)
- SENSOR_GYROSCOPE_ORIENTATION : based on gyroscope_rotation_vector
- SENSOR_GEOMAGNETIC_ORIENTATION : based on geomagnetic_rotration_vector

Change-Id: I5ff47b3e31d84e181c6d7a487b23451f28adbebf
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
include/sensor.h

index 7ea71d8..13b1189 100644 (file)
@@ -154,12 +154,14 @@ typedef enum
                                                     @if MOBILE (Since 2.4) @elseif WEARABLE (Since 2.3.2) @endif */
        SENSOR_GEOMAGNETIC_ROTATION_VECTOR,     /**< Geomagnetic-based rotation vector sensor
                                                     @if MOBILE (Since 2.4) @elseif WEARABLE (Since 2.3.2) @endif */
-       SENSOR_SIGNIFICANT_MOTION = 0x100,      /**< Significant motion sensor (Since 4.0) */
-       SENSOR_HRM_BATCH = 0x200,               /**< Heart-rate monitor batch sensor (Since 5.5)
+       SENSOR_GYROSCOPE_ORIENTATION =  100,    /**< Orientation sensor based on gyroscope rotation vector Since 6.5 */
+       SENSOR_GEOMAGNETIC_ORIENTATION = 105,   /**< Orientation sensor based on geomagnetic rotation vector Since 6.5 */
+       SENSOR_SIGNIFICANT_MOTION = 256,        /**< Significant motion sensor (Since 4.0) */
+       SENSOR_HRM_BATCH = 512,                 /**< Heart-rate monitor batch sensor (Since 5.5)
                                                     @n Privilege : %http://tizen.org/privilege/healthinfo */
        SENSOR_HRM_LED_GREEN_BATCH,             /**< Green LED of HRM batch sensor (Since 5.5)
                                                     @n Privilege : %http://tizen.org/privilege/healthinfo */
-       SENSOR_HUMAN_PEDOMETER = 0x300,         /**< Pedometer (Since 3.0)
+       SENSOR_HUMAN_PEDOMETER = 768,           /**< Pedometer (Since 3.0)
                                                     @n Privilege : %http://tizen.org/privilege/healthinfo */
        SENSOR_HUMAN_SLEEP_MONITOR,             /**< Sleep monitor (Since 3.0)
                                                     @n Privilege : %http://tizen.org/privilege/healthinfo */
@@ -169,7 +171,7 @@ typedef enum
                                                     @n Privilege : %http://tizen.org/privilege/healthinfo
                                                     @deprecated Deprecated since 5.5 */
        SENSOR_LAST,                            /**< End of sensor enum values @deprecated Deprecated since 3.0 */
-       SENSOR_CUSTOM = 0x2710,                 /**< Custom sensor @deprecated Deprecated since 3.0 */
+       SENSOR_CUSTOM = 10000,                  /**< Custom sensor @deprecated Deprecated since 3.0 */
 } sensor_type_e;