Bluetooth: GATT: Add missing return documentation to bt_gatt_read
All public APIs shall contain the complete documentation including @return in case the function return something. Change-Id: I1f16eaf988ace1a3ac760c59eacd71a6a5912df9 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
4c2a459305
commit
9c47d065a7
1 changed files with 2 additions and 0 deletions
|
@ -727,6 +727,8 @@ typedef void (*bt_gatt_read_func_t)(struct bt_conn *conn, int err,
|
|||
* @param handle Attribute handle.
|
||||
* @param offset Attribute data offset.
|
||||
* @param func Callback function.
|
||||
*
|
||||
* @return 0 in case of success or negative value in case of error.
|
||||
*/
|
||||
int bt_gatt_read(struct bt_conn *conn, uint16_t handle, uint16_t offset,
|
||||
bt_gatt_read_func_t func);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue