Skip to content
Commit ffab099e authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

Bluetooth: add destroy callback to indication



Adds a `destroy` callback to the `struct bt_gatt_indicate_params` which
is used to signify to the application that the indication operation has
completed and the struct instance can be freed/destroyed.

This is required as the number of indication value callbacks that will
be triggered is not known by the caller when the `conn` parameter is
`NULL`.

Tracking when this callback should be run is mananged by a private
reference counter inside the struct.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 170f17e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment