Maximum number of services and/or characteristics in BLE GATT
I'm struggling with an issue regarding the number of GATT services, characteristics and descriptors in BlueNRG by STM. I have currently set 6 services and 8 characteristics, minimizing the number of attributes for each service inside
maximum_attr_records
variable as input of GATT function
aci_gatt_add_serv()
.
Everything works fine until I add the seventh service or the nineth characteristic: the GAP does not initialize and the communication is stopped.
I imagined that is something connected to the number of attributes/services/characteristics used in my application that require all the GATT stack memory, but it seems weird.
Is there a way to increase this maximum value using the BlueNRG protocol?
BlueNRG-2, STM32CUBEIDE 1.7.0, X-Cube-Ble 3.2.2
