This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is the maximum number of characteristics?

Hello.

I am developing using nrf52832 (S132 v7.0.1, SDK v17.0.0).

I have a question about the maximum number of characteristics.
I searched DevZone for the same question, but the numbers were different.
Perhaps it is possible to set the upper limit of memory, but in that case, what is the upper limit setting?
Is it possible to change the upper limit?

Best regards.

Parents
  • Hi, 

    I am developing using nrf52832 (S132 v7.0.1, SDK v17.0.0).

    Please be aware that SDK v17.0.0 is replaced by v17.0.2 for bug fixing

    I have a question about the maximum number of characteristics.

    Generally, there are no limits in terms of service, characteristic, or descriptor counts. The only limit is the memory available for the attribute table. You could increase the NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE in sdk_config.h. Note that when you increase the NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE you would also need to increase the softdevice's allocated memory in the project setting (the start address of RAM for application). 

    Regards,
    Amanda

Reply
  • Hi, 

    I am developing using nrf52832 (S132 v7.0.1, SDK v17.0.0).

    Please be aware that SDK v17.0.0 is replaced by v17.0.2 for bug fixing

    I have a question about the maximum number of characteristics.

    Generally, there are no limits in terms of service, characteristic, or descriptor counts. The only limit is the memory available for the attribute table. You could increase the NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE in sdk_config.h. Note that when you increase the NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE you would also need to increase the softdevice's allocated memory in the project setting (the start address of RAM for application). 

    Regards,
    Amanda

Children
No Data
Related