Bluetooth: GATT: Fix documentation of bt_gatt_notify
Document the return value of bt_gatt_notify. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
5ebf1a2c14
commit
4b4b6762aa
1 changed files with 2 additions and 0 deletions
|
@ -701,6 +701,8 @@ int bt_gatt_notify(struct bt_conn *conn, const struct bt_gatt_attr *attr,
|
||||||
* @param conn Connection object.
|
* @param conn Connection object.
|
||||||
* @param attr Attribute object.
|
* @param attr Attribute object.
|
||||||
* @param err ATT error code
|
* @param err ATT error code
|
||||||
|
*
|
||||||
|
* @return 0 in case of success or negative value in case of error.
|
||||||
*/
|
*/
|
||||||
typedef void (*bt_gatt_indicate_func_t)(struct bt_conn *conn,
|
typedef void (*bt_gatt_indicate_func_t)(struct bt_conn *conn,
|
||||||
const struct bt_gatt_attr *attr,
|
const struct bt_gatt_attr *attr,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue