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,

    Did you increase the RAM size?

    If you set the NRF_LOG flag to debug you will print the debug messages and that will make your code easier to debug. Just search in the sdk_config.h for NRF_LOG_DEFAULT_LEVEL and change the level flag from 3 (Info) to 4 (debug).

    // <o> NRF_LOG_DEFAULT_LEVEL  - Default Severity level
     
    // <0=> Off 
    // <1=> Error 
    // <2=> Warning 
    // <3=> Info 
    // <4=> Debug 
    
    #ifndef NRF_LOG_DEFAULT_LEVEL
    #define NRF_LOG_DEFAULT_LEVEL 4
    #endif

    Best Regards,

    Marjeris

Children
Related