mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 07:02:20 +00:00
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: Jordan Yates <jordan.yates@data61.csiro.au> |
||
---|---|---|
.. | ||
boards | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
README.rst | ||
sample.yaml |
.. _ble_peripheral: Bluetooth: Peripheral ##################### Overview ******** Application demonstrating the BLE Peripheral role. It has several well-known and vendor-specific GATT services that it exposes. Requirements ************ * BlueZ running on the host, or * A board with BLE support Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/peripheral` in the Zephyr tree. See :ref:`bluetooth samples section <bluetooth-samples>` for details.