Hi, Greetings !
I have totally 3 services and 8 characteristics added in my project. In first service there are 2 characteristics, 2nd service there are 5 characteristics added and third one is battery service only with 1 characteristics.
Previously when I was going to add 4 th characteristics of service 2, error occurred due to RAM and STACK size limitation. But that time I was fix it by doing respective RAM size changes. But this time the error is different and I can’t figure it out.
When I added 5th service in 2nd characteristics the program is crashed and fatal error seen. But it not giving RAM size limitations. I checked with breakpoint and it returns error when adding 5th characteristics in ble_services_int() procedure.
err_code = characteristic_add(p_epls->service_handle, &add_char_params, &p_epls>lock_status_handles);
if (err_code != NRF_SUCCESS)
{
return err_code;
}
When I not added 5th characteristics everything works fine. I searched about this on forum and tried with many given solution but nothing works. Also I tried with changing following parameters.
The settings in sdk_config.h file like this -
#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408" and "#define NRF_SDH_BLE_VS_UUID_COUNT 10
Thanks,
Pooja Uchagaonkar