Add the return value for bt_gatt_client_get_att_mtu API 81/206781/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 27 May 2019 00:54:34 +0000 (09:54 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 27 May 2019 00:54:34 +0000 (09:54 +0900)
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 <dh79.pyun@samsung.com>
include/bluetooth.h

index a05e2e8..f7805a0 100644 (file)
@@ -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);