nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bt_gatt_pool_ccc_alloc()

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.

Parameters
gpGATT service object with dynamic attribute allocation.
cccCCC descriptor.
permPermissions to access CCC. Use the GATT attribute permission bit field values.
Returns
0 or negative error code.