summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2016-11-03 11:37:14 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2016-11-07 08:42:40 +0900
commit22bdbf3b945e292a9ad324f173e03ed3d81666af (patch)
tree6b8c3a40beafc91d4ca3c559a2a9e8eaace4772d /include
parent1c707c0cffd87dc6ba358dc79111f25205f450a4 (diff)
downloadbluetooth-22bdbf3b945e292a9ad324f173e03ed3d81666af.tar.gz
bluetooth-22bdbf3b945e292a9ad324f173e03ed3d81666af.tar.bz2
bluetooth-22bdbf3b945e292a9ad324f173e03ed3d81666af.zip
Merge the code from private
branch:devel/bluetooth/master ================================================= commit e1867146dceebc8550edb1431f40fe0c89d2353f Author: Deokhyun Kim <dukan.kim@samsung.com> Date: Mon Oct 24 18:26:12 2016 +0900 ================================================== Change-Id: I3917b9d13076820f5aa7352649a9c9a81e32dda8 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/mobile/bluetooth_internal.h21
-rw-r--r--include/wearable/bluetooth_internal.h21
2 files changed, 42 insertions, 0 deletions
diff --git a/include/mobile/bluetooth_internal.h b/include/mobile/bluetooth_internal.h
index 36c1e44..a072372 100644
--- a/include/mobile/bluetooth_internal.h
+++ b/include/mobile/bluetooth_internal.h
@@ -2163,6 +2163,27 @@ int bt_device_le_conn_update(const char *device_address,
const bt_le_conn_update_s *parameters);
/**
+ * @internal
+ * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
+ * @brief Gets the is_alias_set property of a bonded device.
+ * @since_tizen 3.0
+ *
+ * @param [in] remote_address The address of remote device
+ * @param [out] is_alias_set The is_alias_set property of device
+ *
+ * @return 0 on success, otherwise a negative error value.
+ * @retval #BT_ERROR_NONE Successful
+ * @retval #BT_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #BT_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #BT_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #BT_ERROR_NOT_ENABLED Not enabled
+ * @retval #BT_ERROR_NOT_SUPPORTED Not supported
+ *
+ * @pre The state of local Bluetooth must be #BT_ADAPTER_ENABLED.
+ */
+int bt_adapter_get_bonded_device_is_alias_set(const char *remote_address, gboolean *is_alias_set);
+
+/**
* @ingroup CAPI_NETWORK_BLUETOOTH_HID_MODULE
* @brief Registers the method for HID Device role
* @since_tizen 2.3.1
diff --git a/include/wearable/bluetooth_internal.h b/include/wearable/bluetooth_internal.h
index a256820..7132276 100644
--- a/include/wearable/bluetooth_internal.h
+++ b/include/wearable/bluetooth_internal.h
@@ -2509,6 +2509,27 @@ int bt_device_le_conn_update(const char *device_address,
const bt_le_conn_update_s *parameters);
/**
+ * @internal
+ * @ingroup CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
+ * @brief Gets the is_alias_set property of a bonded device.
+ * @since_tizen 3.0
+ *
+ * @param [in] remote_address The address of remote device
+ * @param [out] is_alias_set The is_alias_set property of device
+ *
+ * @return 0 on success, otherwise a negative error value.
+ * @retval #BT_ERROR_NONE Successful
+ * @retval #BT_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #BT_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #BT_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #BT_ERROR_NOT_ENABLED Not enabled
+ * @retval #BT_ERROR_NOT_SUPPORTED Not supported
+ *
+ * @pre The state of local Bluetooth must be #BT_ADAPTER_ENABLED.
+ */
+int bt_adapter_get_bonded_device_is_alias_set(const char *remote_address, gboolean *is_alias_set);
+
+/**
* @ingroup CAPI_NETWORK_BLUETOOTH_DPM_MODULE
* @brief Sets Restriction for BT mode(BT allowed or not).
* @since_tizen 3.0