Bluetooth: GATT: Remove all subscriptions for connection when unpairing
Make sure all subscriptions are removed when a connection is unpaired. Fixes #21131 Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
This commit is contained in:
parent
afe088247d
commit
7096fa512f
3 changed files with 24 additions and 4 deletions
|
@ -1256,7 +1256,8 @@ struct bt_gatt_subscribe_params;
|
|||
/** @typedef bt_gatt_notify_func_t
|
||||
* @brief Notification callback function
|
||||
*
|
||||
* @param conn Connection object.
|
||||
* @param conn Connection object. May be NULL, indicating that the peer is
|
||||
* being unpaired
|
||||
* @param params Subscription parameters.
|
||||
* @param data Attribute value data. If NULL then subscription was removed.
|
||||
* @param length Attribute value length.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue