diff options
author | Lokesh <l.kasana@samsung.com> | 2019-09-10 17:08:20 +0530 |
---|---|---|
committer | saerome.kim <saerome.kim@samsung.com> | 2019-09-16 21:05:28 +0900 |
commit | ec7121eba216f131deb0fe5df22ed8cb950f90c4 (patch) | |
tree | 26beb962f66acb6e9561f571865d552ff13e0007 /include | |
parent | 71c456cc58bcad772850e04d78033e3ead80422f (diff) | |
download | user-awareness-ec7121eba216f131deb0fe5df22ed8cb950f90c4.tar.gz user-awareness-ec7121eba216f131deb0fe5df22ed8cb950f90c4.tar.bz2 user-awareness-ec7121eba216f131deb0fe5df22ed8cb950f90c4.zip |
Fix __ua_send_absence_detection() to store monitor->absence_detected_bitmask
1/ fix user_sensor_bitmask in __ua_monitor_send_user_absence_cb()
2/ _uam_to_ua_sensor() is newly named
Changed uat-detection menu.
1/ change default detection type: ANY
2/ removed stop presence/detection menu
Change-Id: I30c3df499d080a080f22186c412aab3e447aaa9d
Signed-off-by: Lokesh <l.kasana@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/user-awareness-util.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/user-awareness-util.h b/include/user-awareness-util.h index de20517..0f93d13 100644 --- a/include/user-awareness-util.h +++ b/include/user-awareness-util.h @@ -170,6 +170,33 @@ uam_tech_type_e _ua_to_uam_tech_type(ua_mac_type_e type); */ ua_sensor_e _ua_dev_type_to_sensor(ua_mac_type_e type); +/** + * @ingroup CAPI_NETWORK_UA_MODULE + * @internal + * @brief Converts uam sensor bitmask to ua sensor bitmask enum. + * @since_tizen 5.5 + * + * @remarks The returned value can be used until return call function is valid. + * + * @param[in] bitmask Uam sensor bitmask to be converted. + * + * @return Sensor bitmask + * + * @retval #UA_SENSOR_BT Bluetooth + * @retval #UA_SENSOR_BLE Bluetooth Low Energy + * @retval #UA_SENSOR_WIFI Wi-Fi + * @retval #UA_SENSOR_MOTION Motion + * @retval #UA_SENSOR_LIGHT Light + * @retval #UA_SENSOR_AUDIO Audiio + * @retval #UA_SENSOR_MAX Invalid + * + * @exception + * @pre + * @post + * + */ +ua_sensor_e _uam_to_ua_sensor(uam_sensor_bitmask_e bitmask); + #ifdef __cplusplus } #endif |