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

NRF_ERROR_NO_MEM caused by DLE

Hello. I want to extended data length in my firmware which is based on ble_app_hrs example. But, when I try to set NRF_SDH_BLE_GATT_MAX_MTU_SIZE 247 (it was 23) I get 
two warnings and one error message in logger:

RAM starts at 0x%x200020E0, can be adjasted to 0x20002750.

RAM size can be adjusted to 0xD8B0.

sd_ble_enable() returned NRF_ERROR_NO_MEM.

I also had a look on this question, but when I play with NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE nothing is change.I try to set different values but result the same. In examples such a ble_app_uart NRF_SDH_BLE_GATT_MAX_MTU_SIZE 247 and NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408 (the same as in my firmware settings).

I also try in same examples like ble_app_blinky change NRF_SDH_BLE_GATT_MAX_MTU_SIZE from 23 to 247 and it return the same error.

How can I correctly extended data length of characteristics of my services?

I use nrf52DK (pca10040), SDK14.2.0, s132.

Related