From b01dfa2afa3be402b3f5c4cd2e95b0407ba5c353 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 30 May 2019 13:42:40 +0900 Subject: [PATCH] Add the return value for bt_pbap_client APIs 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 --- include/bluetooth.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/bluetooth.h b/include/bluetooth.h index f7805a0..917b902 100644 --- a/include/bluetooth.h +++ b/include/bluetooth.h @@ -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(). -- 2.7.4