Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

What is maximum services allowed in nrf s112?

Hi,

I am currently building software on NRF 52810 and softdevice version is s112 7.0.1. I have one service which has three characteristics. When I add either a new service or another characteristic in the existing service for my secure DFU image, the image is building but after doing DFU I am not able to find these new service or characteristics in the NRF connect application. However, I am able to see my added service in non DFU image when I am flashing locally.

What can be the issue here? What are the maximum services allowed for this particular softdevice version? Maximum number of characteristics allowed in a service for this version?

The NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE is set to 512.
Parents
  • Hi,

    The number of services/characteristics you can add is limited by the configured attribute table size (NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE) and how much RAM you have available. 

    When I add either a new service or another characteristic in the existing service for my secure DFU image, the image is building but after doing DFU I am not able to find these new service or characteristics in the NRF connect application.

    Do you have any way to debug this device or test your changes before uploading via DFU?

Reply
  • Hi,

    The number of services/characteristics you can add is limited by the configured attribute table size (NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE) and how much RAM you have available. 

    When I add either a new service or another characteristic in the existing service for my secure DFU image, the image is building but after doing DFU I am not able to find these new service or characteristics in the NRF connect application.

    Do you have any way to debug this device or test your changes before uploading via DFU?

Children
No Data
Related