Revert "Move passkey reply APIs to internal header" 95/77395/1 accepted/tizen/common/20160703.130107 accepted/tizen/ivi/20160630.003514 accepted/tizen/mobile/20160630.003440 accepted/tizen/tv/20160630.003419 accepted/tizen/wearable/20160630.003458 submit/tizen/20160629.092010
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 29 Jun 2016 12:55:15 +0000 (21:55 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 29 Jun 2016 12:55:21 +0000 (21:55 +0900)
This reverts commit 06ca04d3b5827d12adc8fd89d9573175cfca7af2.

Change-Id: If4563eb7ccbaf5461a63596a23e1a0a9acda7737

include/bluetooth_private.h
include/mobile/bluetooth_internal.h
include/tv/bluetooth_internal.h
include/wearable/bluetooth_internal.h

index f0acbdff3255acb70530477610f4d0b9c92d698c..1407f6cf12f7e8a37bc3ab72d06b344434585cae 100644 (file)
@@ -674,6 +674,33 @@ int bt_adapter_set_authentication_req_cb(bt_adapter_authentication_req_cb callba
  */
 int bt_adapter_unset_authentication_req_cb(void);
 
+/**
+ * @ingroup  CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
+ * @brief  API to reply with PIN or PASSKEY with authentication type - TRUE or FALSE.
+ * @remarks  This function can be called by application when remote device requests PIN or PASSKEY from
+ *           local adapter.
+ * @param[in]  passkey  The passkey to be provided by application when remote devices requests for it.
+ * @param[in]  authentication_reply This indicates whether application wants to accept or cancel the on-going pairing
+ * @pre  This function can only be called when application receieves authentication event (BT_AUTH_PIN_REQUEST)
+ *       from remote device.
+ * @see  bt_adapter_set_authentication_req_cb()
+ */
+int bt_passkey_reply(char *passkey, bool authentication_reply);
+
+/**
+ * @ingroup  CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
+ * @brief  API to reply to the PASSKEY confirmation for on-going pairing with remote device.
+ * @remarks  This function can be called by application, when local adapter wants PASSKEY confirmation from user.
+ * @param[in]  confirmation_reply This indicates whether application wants to accepts or cancels the on-going pairing
+ *             confirmation_reply : TRUE will indicate that Application has confirmed the PASSKEY
+ *             confirmation_reply : FALSE will indicate that Application has failed to confirm the PASSKEY. In this situation
+ *             the pairing will be failed.
+ * @pre  This function can only be called when application receives authentication event (BT_AUTH_PASSKEY_CONFIRM_REQUEST)
+ *       from remote device.
+ * @see  bt_adapter_set_authentication_req_cb()
+ */
+int bt_passkey_confirmation_reply(bool confirmation_reply);
+
 #ifdef __cplusplus
 }
 #endif
index f2311f4e6fc7306ed25fa1bb5deaabd617fc935c..2fd346b53b4133bf0a497c97c7d61ec2d9cc1543 100644 (file)
@@ -3017,33 +3017,6 @@ int bt_dpm_set_data_transfer_state(bt_dpm_status_e value);
  */
 int bt_dpm_get_data_transfer_state(bt_dpm_status_e *value);
 
-/**
- * @ingroup  CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
- * @brief  API to reply with PIN or PASSKEY with authentication type - TRUE or FALSE.
- * @remarks  This function can be called by application when remote device requests PIN or PASSKEY from
- *           local adapter.
- * @param[in]  passkey  The passkey to be provided by application when remote devices requests for it.
- * @param[in]  authentication_reply This indicates whether application wants to accept or cancel the on-going pairing
- * @pre  This function can only be called when application receieves authentication event (BT_AUTH_PIN_REQUEST)
- *       from remote device.
- * @see  bt_adapter_set_authentication_req_cb()
- */
-int bt_passkey_reply(char *passkey, bool authentication_reply);
-
-/**
- * @ingroup  CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
- * @brief  API to reply to the PASSKEY confirmation for on-going pairing with remote device.
- * @remarks  This function can be called by application, when local adapter wants PASSKEY confirmation from user.
- * @param[in]  confirmation_reply This indicates whether application wants to accepts or cancels the on-going pairing
- *             confirmation_reply : TRUE will indicate that Application has confirmed the PASSKEY
- *             confirmation_reply : FALSE will indicate that Application has failed to confirm the PASSKEY. In this situation
- *             the pairing will be failed.
- * @pre  This function can only be called when application receives authentication event (BT_AUTH_PASSKEY_CONFIRM_REQUEST)
- *       from remote device.
- * @see  bt_adapter_set_authentication_req_cb()
- */
-int bt_passkey_confirmation_reply(bool confirmation_reply);
-
 /**
  * @}
  */
index 283ebb7b16fcb2552dfa166af0460db80c8fd696..ce3ba68ab411f4c75e10303fbd988009a007a069 100644 (file)
@@ -3018,33 +3018,6 @@ int bt_dpm_set_data_transfer_state(bt_dpm_status_e value);
  */
 int bt_dpm_get_data_transfer_state(bt_dpm_status_e *value);
 
-/**
- * @ingroup  CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
- * @brief  API to reply with PIN or PASSKEY with authentication type - TRUE or FALSE.
- * @remarks  This function can be called by application when remote device requests PIN or PASSKEY from
- *           local adapter.
- * @param[in]  passkey  The passkey to be provided by application when remote devices requests for it.
- * @param[in]  authentication_reply This indicates whether application wants to accept or cancel the on-going pairing
- * @pre  This function can only be called when application receieves authentication event (BT_AUTH_PIN_REQUEST)
- *       from remote device.
- * @see  bt_adapter_set_authentication_req_cb()
- */
-int bt_passkey_reply(char *passkey, bool authentication_reply);
-
-/**
- * @ingroup  CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
- * @brief  API to reply to the PASSKEY confirmation for on-going pairing with remote device.
- * @remarks  This function can be called by application, when local adapter wants PASSKEY confirmation from user.
- * @param[in]  confirmation_reply This indicates whether application wants to accepts or cancels the on-going pairing
- *             confirmation_reply : TRUE will indicate that Application has confirmed the PASSKEY
- *             confirmation_reply : FALSE will indicate that Application has failed to confirm the PASSKEY. In this situation
- *             the pairing will be failed.
- * @pre  This function can only be called when application receives authentication event (BT_AUTH_PASSKEY_CONFIRM_REQUEST)
- *       from remote device.
- * @see  bt_adapter_set_authentication_req_cb()
- */
-int bt_passkey_confirmation_reply(bool confirmation_reply);
-
 /**
  * @}
  */
index da17c8205a785efbddedd9d0b41a09382ae31a4a..72d23a3c8d984d9fad22b404e9d6fd349758f32c 100644 (file)
@@ -3165,33 +3165,6 @@ int bt_dpm_set_data_transfer_state(bt_dpm_status_e value);
  */
 int bt_dpm_get_data_transfer_state(bt_dpm_status_e *value);
 
-/**
- * @ingroup  CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
- * @brief  API to reply with PIN or PASSKEY with authentication type - TRUE or FALSE.
- * @remarks  This function can be called by application when remote device requests PIN or PASSKEY from
- *           local adapter.
- * @param[in]  passkey  The passkey to be provided by application when remote devices requests for it.
- * @param[in]  authentication_reply This indicates whether application wants to accept or cancel the on-going pairing
- * @pre  This function can only be called when application receieves authentication event (BT_AUTH_PIN_REQUEST)
- *       from remote device.
- * @see  bt_adapter_set_authentication_req_cb()
- */
-int bt_passkey_reply(char *passkey, bool authentication_reply);
-
-/**
- * @ingroup  CAPI_NETWORK_BLUETOOTH_DEVICE_MODULE
- * @brief  API to reply to the PASSKEY confirmation for on-going pairing with remote device.
- * @remarks  This function can be called by application, when local adapter wants PASSKEY confirmation from user.
- * @param[in]  confirmation_reply This indicates whether application wants to accepts or cancels the on-going pairing
- *             confirmation_reply : TRUE will indicate that Application has confirmed the PASSKEY
- *             confirmation_reply : FALSE will indicate that Application has failed to confirm the PASSKEY. In this situation
- *             the pairing will be failed.
- * @pre  This function can only be called when application receives authentication event (BT_AUTH_PASSKEY_CONFIRM_REQUEST)
- *       from remote device.
- * @see  bt_adapter_set_authentication_req_cb()
- */
-int bt_passkey_confirmation_reply(bool confirmation_reply);
-
 /**
  * @}
  */