Add the return value for bt_pbap_client APIs 99/207099/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 30 May 2019 04:42:40 +0000 (13:42 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 30 May 2019 04:42:40 +0000 (13:42 +0900)
The pbap client APIs can return BT_ERROR_NOW_IN_PROGRESS,
so we should mention that error type in the document.

Change-Id: Ife24d5b2b5fb63e097d822fcd0522244466dc983
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
include/bluetooth.h

index f7805a0..917b902 100644 (file)
@@ -5350,6 +5350,7 @@ int bt_pbap_client_unset_connection_state_changed_cb(void);
  * @retval #BT_ERROR_OPERATION_FAILED  Operation failed
  * @retval #BT_ERROR_PERMISSION_DENIED  Permission denied
  * @retval #BT_ERROR_NOT_SUPPORTED  Not supported
+ * @retval #BT_ERROR_NOW_IN_PROGRESS  Operation is in progress
  *
  * @pre The state of the local Bluetooth adapter must be #BT_ADAPTER_ENABLED.
  * @pre The PBAP client must be initialized with bt_pbap_client_initialize().
@@ -5378,6 +5379,7 @@ int bt_pbap_client_connect(const char *address);
  * @retval #BT_ERROR_OPERATION_FAILED  Operation failed
  * @retval #BT_ERROR_PERMISSION_DENIED  Permission denied
  * @retval #BT_ERROR_NOT_SUPPORTED  Not supported
+ * @retval #BT_ERROR_NOW_IN_PROGRESS  Operation is in progress
  *
  * @pre The state of the local Bluetooth adapter must be #BT_ADAPTER_ENABLED.
  * @pre The PBAP client must be initialized with bt_pbap_client_initialize().