2023-04-26 12:25 AM
Hi everybody,
I am currently working on a project with a BlueNRG-M2 module running the DTM firmware to get interfaced by an host controller.
The Project requires lots of parameters to send and receive via BLE and my device is in client role. While adding all the characteristics for each parameter in the context of initialization of the BlueNRG device I ran into BLE_STATUS_OUT_OF_MEMORY error very quickly, although I calculated the Max_Attribute_Records correctly when adding the corresponding service.
Now here are my questions?
What is the default atrribute record memory size allocated for one attribute value while adding it? Is it fixed or is it depending on the Char_Value_Length parameter of aci_gatt_add_char function?
Is there a limitation in the BLE Stack implementation for the maximum number of attribute records or is it only limited by memory size.
What is the maximum memory size for all attribute records in the BlueNRG-M2 and is there a limitation implemented in the DTM firmware which can be increased?
Thanks a lot in advance.
Thieny