cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG-M2SA return (BLE_STATUS_OUT_OF_MEMORY)

fanyun
Associate II

Hi,​

I tried BlueNRG_Stack_Initialization but it returned the value 0x48, I looked at the ble_status.h file and it says

/*

* @brief The requested operation failed because of lack of memory.

* Out of memory shall be returned for situations where memory will never 

* become available again (e.g. ATT database)

*/

I've searched the web and it looks like the problem is in the BlueNRG_Stack_Initialization_t structure (TOTAL_BUFFER_SIZE), but I'm not sure how to set the size in there, I currently have a server and two characteristics, and the structure ( ATT_VALUE_ARRAY_SIZE) in the structure and my server and characteristics, how should I calculate them and what is their relationship?

Any help on the above would be appreciated.

0 REPLIES 0