I am trying to understand the max number of characterstics per service; In the forms some say it's limited based on the memory allocated for the GATT table internally and some say it's not dependent on the memory. It's not clear for me.
Right now I am having up to 24 characteristics and If I add another new characterstic; It doesn't show in the advertisnment data. What's the maximum number of characterstics per service and what's it dependent on?
raj_ron said:What's the maximum number of characterstics per service and what's it dependent on?
It's only limited by the available memory. If you are adding a lot of characteristics you might need to increase NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE in sdk_config.h, and consequently the amount of RAM allocated to the SoftDevice.
raj_ron said:It doesn't show in the advertisnment data.
You are adding information about all the characteristics in the advertising packet? Note that an advertising packet can only contain up to 31 bytes of data.
Thank you, It's helpful.