From 857069aec3d8054d130594737c7761cf1d532179 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Mon, 27 May 2019 09:54:34 +0900 Subject: [PATCH] Add the return value for bt_gatt_client_get_att_mtu API The API can return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED, so we should mention that error type in the document. Change-Id: I51d73b97c33d8502116679a911fc3e437b2ef79f Signed-off-by: DoHyun Pyun --- include/bluetooth.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/bluetooth.h b/include/bluetooth.h index a05e2e8..f7805a0 100644 --- a/include/bluetooth.h +++ b/include/bluetooth.h @@ -4470,6 +4470,7 @@ int bt_gatt_client_request_att_mtu_change(bt_gatt_client_h client, unsigned int * @retval #BT_ERROR_NOT_ENABLED Not enabled * @retval #BT_ERROR_OPERATION_FAILED Operation failed * @retval #BT_ERROR_NOT_SUPPORTED Not supported + * @retval #BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED Remote device is not connected */ int bt_gatt_client_get_att_mtu(bt_gatt_client_h client, unsigned int *mtu); -- 2.7.4