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

◆ bt_gatt_pool_chrc_alloc()

int bt_gatt_pool_chrc_alloc ( struct bt_gatt_pool gp,
uint8_t  props,
struct bt_gatt_attr const *  attr 
)

#include <include/bluetooth/gatt_pool.h>

Take a characteristic descriptor from the pool.

Parameters
gpGATT service object with dynamic attribute allocation.
propsProperties of the characteristic.
attrCharacteristic value attribute.
Returns
0 or a negative error code.