Bluetooth: GATT: Fix bt_gatt_exchange_mtu documentation
bt_gatt_exchange_mtu does actually return an int, also change the align the description properly so it is consistent with other functions. Change-Id: I6a0780830e13ded15e6262a46094441a2ef662c8 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
68e0c50211
commit
c6071e46da
1 changed files with 6 additions and 3 deletions
|
@ -746,12 +746,15 @@ typedef void (*bt_gatt_rsp_func_t)(struct bt_conn *conn, uint8_t err);
|
|||
|
||||
/** @brief Exchange MTU
|
||||
*
|
||||
* This client procedure can be used to set the MTU to the maximum possible
|
||||
* size the buffers can hold.
|
||||
* NOTE: Shall only be used once per connection.
|
||||
* This client procedure can be used to set the MTU to the maximum possible
|
||||
* size the buffers can hold.
|
||||
*
|
||||
* NOTE: Shall only be used once per connection.
|
||||
*
|
||||
* @param conn Connection object.
|
||||
* @param func Exchange MTU Response callback function.
|
||||
*
|
||||
* @return 0 in case of success or negative value in case of error.
|
||||
*/
|
||||
int bt_gatt_exchange_mtu(struct bt_conn *conn, bt_gatt_rsp_func_t func);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue