nRF Connect SDK API 0.1.0
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.