nRF Connect SDK API 2.8.99
|
int bt_gatt_pool_ccc_alloc | ( | struct bt_gatt_pool * | gp, |
struct _bt_gatt_ccc * | ccc, | ||
uint8_t | perm ) |
#include <include/bluetooth/gatt_pool.h>
Take a CCC descriptor from the pool.
gp | GATT service object with dynamic attribute allocation. |
ccc | CCC descriptor. |
perm | Permissions to access CCC. Use the GATT attribute permission bit field values. |