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

◆ BT_GATT_POOL_INIT

#define BT_GATT_POOL_INIT ( _attr_array_size)

#include <include/bluetooth/gatt_pool.h>

Value:
{ \
.svc = \
{ \
.attrs = (struct bt_gatt_attr[_attr_array_size]) \
{ {0} } \
}, \
.attr_array_size = _attr_array_size \
}

Initialization of the GATT attribute pool variable.

This macro creates the initializer for the new attribute pool.

Parameters
_attr_array_sizeSize of the attribute array.