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

Increase number of Characteristics

I am using the ble_blinky example (s132) and want to increase the number of characteristics. I get the error code 4. I think the storage capacity is not the reason why I can't create more characteristics. In the a try I implemented some variables to see if I can still create the same number of characteristics, and yes I can. I read in some old Posts about a limitation for the GATT Table or the number of characters per service but I couldn't find these parameters anymore.

I tried with the the is_value_user parameter as well. Maybe I haven't used it right but the number of characteristics didn't increase and reacted the same way like before.

I hope somebody has an idea

Parents Reply
  • Hi Moe,

    Sorry, I forgot to mention you also need to increase NRF_SDH_BLE_GATTS_ATTB_TAB_SIZE if you have a large number of characteristic in your custom service.

    If you are expecting debug information from a particular module you also need to enable NRF_LOG and change the default log level to 4 for the specific module.

    Maybe you can upload your project here so I can take a look at the code inside if increasing the attribute table size does not work.

    Best Regards,

    Marjeris

Children
Related