Bluetooth: GATT: Document notify callback return parameters
Document the possible return values of the notify callback and the action it takes. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
0d0957841e
commit
900b4b0679
1 changed files with 3 additions and 0 deletions
|
@ -1261,6 +1261,9 @@ struct bt_gatt_subscribe_params;
|
|||
* @param params Subscription parameters.
|
||||
* @param data Attribute value data. If NULL then subscription was removed.
|
||||
* @param length Attribute value length.
|
||||
*
|
||||
* @return BT_GATT_ITER_CONTINUE to continue receiving value notifications.
|
||||
* BT_GATT_ITER_STOP to unsubscribe from value notifications.
|
||||
*/
|
||||
typedef u8_t (*bt_gatt_notify_func_t)(struct bt_conn *conn,
|
||||
struct bt_gatt_subscribe_params *params,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue