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

◆ bt_gatt_pool_desc_alloc()

int bt_gatt_pool_desc_alloc ( struct bt_gatt_pool gp,
struct bt_gatt_attr const *  descriptor 
)

#include <include/bluetooth/gatt_pool.h>

Take an attribute descriptor from the pool.

Parameters
gpGATT service object with dynamic attribute allocation.
descriptorAttribute descriptor.
Returns
0 or negative error code.