This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Fixing NRF_ERROR_NO_MEM from sd_ble_uuid_vs_add

Hi,

I've got some software that already uses nordic_uart, so when I try to add another uuid I get NRF_ERROR_NO_MEM.

Now reading around at others with this problem, it looks like I can just do:

ble_enable_params.common_enable_params.vs_uuid_count = 2;

But this causes an error 0x4001 somewhere in my code. It looks like it's because there's not enough RAM allocated - I can fix it by reserving loads of memory in the linker file.

But how much memory should I reserve (even roughly?). I see a few times where changing the amount of RAM is mentioned, but never how much. I'm on nRF52 S132

Thanks!

Parents Reply Children
No Data
Related