Attribute table size

The size of the attribute table can be configured through the SoftDevice API when enabling the Bluetooth low energy stack.

The default and minimum values of the attribute table size, ATTR_TAB_SIZE, can be found in ble_gatts.h. Applications that require an attribute table smaller or bigger than the default size can choose to either reduce or increase the attribute table size. The amount of RAM reserved by the SoftDevice and the minimum required start address for the application RAM, APP_RAM_BASE, will then change accordingly.

The attribute table size is set through sd_ble_cfg_set.