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

Merging NUS with LBS returns NRF_ERROR_NO_MEM

Hi, I use PCA10040 v1.1 with SDK12.1 via S132 v3.

I use Keil 5.21.

After testing the LBS example, I was merging the NUS (NORDIC UART Service) to the standalone LBS example.

However, the sd_ble_gatts_service_add (which is in ble_nus_init) returns NRF_ERROR_NO_MEM.

Keil

So I thought increasing the IRAM1 might solve this.

I heard that this is due to the insufficient memory from the SoftDevice.

However, even though I increase it, it still returns the same error.

In this case, what do I have to do to merge both services?

-Best Regards, Mango

Related