Limitation on maximum characteristics and services when in HCI mode

Hi,

My project is a host micro (STM32) and a nRF52840 (controller mode) to implement a peripheral. My previous project (STM32 BLUENRG-M0 and host micro, HCI SPI interface) was abandoned due to a maximum 700 byte size limit for GATT services and characteristics. 

The nRF is running the samples/bluetooth/hci_spi example. I will use I have looked over some of the documentation (and questions in the devzone) and see that the maximum size for the GATT services and characteristics can be adjusted by creating a GATT pool of sufficient size (BT_GATT_POOL_INIT(_attr_array_size)).

In my configuration is that the recommended method to increase the pool for adding services and characteristics? Is this method only valid when running the application on the nRF device?

More details on my application:

  • 4 custom services and 15 characteristics (spread out over the 4 services).
  • maximum of 1 connection.
  • All uuids are 128 bit
  • nRFConnect SDK 1.9.1

I can provide more details on characteristic value sizes if that is helpful. Of if there is a link to documentation that answers my questions I would be happy to review it.

Thanks,

Martin

Parents Reply Children
Related