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:
Luiz Augusto von Dentz 2015-07-15 16:02:17 +03:00 committed by Anas Nashif
commit 9c47d065a7

View file

@ -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);