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

NRF_ERROR_NO_MEM in sd_ble_gatts_characteristic_add

Hi,

I get NRF_ERROR_NO_MEM calling sd_ble_gatts_characteristic_add when using more than 15 uuids. Can you help mitigating this?

Thanks,

Daniel

Parents Reply
  • It'd be great if Nordic could reveal a formula for calculating the NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE, or at the very least, a configurable log level for the SDH functions to output how they are allocating structures within it (similar perhaps to how the heap memory allocator logs). My particular application has large buffer sizes for its value characteristics (necessarily so), and so these values ended up needing to extend NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE quite significantly.

Children
Related