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

DFU and custom service doesnt work together

I have included the DFU service and a custom service in my application. During initialisation DFU service is getting initialised and later down the line my custom service is getting initialised.
During initialisation of my custom service I am calling sd_ble_uuid_vs_add(), this call fails giving NRF_ERROR_NO_MEM.

Note that the failure happens only when I enable the DFU related code. The call is successful and things run perfectly fine when DFU related code is commented out from my application. Same is true vice versa; DFU works fine when custom service related code is removed.

Is there a limit on number of custom services that we can add in an application? Or does this sound like something else is wrong?

Parents Reply Children
No Data
Related