This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Attribute table to flash memory?

Hello,

I'm using SimpleBleperipheral demo without LCD and other things.

I have problem with low RAM memory. I want use lot of attributes (services, characteristics, etc...). Now I'm using 100 attributes in RAM, but it is maximum.

Is it possible move table from RAM to FLASH? I'm thinking about it and I have problem with handle. Handla can't be static. Is it possible change handle to pointer? 

Can you help me please? Or have you got any idea?

Thank you very much

Best Regards

Vilem

  • Hi Vilem,

    Unfortunately it's not possible to change the definition of gattAttribute_t because it is referenced by a lot of places in the library. However, you can place some of the information which are supposed to be assigned to pValue, such as user descriptions, in Flash. Have you tried that?

    - Cetri