Max number of characteristics per service


#1

Hi!, in a peripheral device implemented on a Red Bear Duo, which is the max number of general characteristics with 128-bit UUID that can be added to a single service using addCharacteristicDynamic() sentence?. from some tests, it seems to be 9 … is that OK?. can this limit be modified from duo’s firmware?. thanks


#2

Hi @fbt,

I think the size of the BLE database is pre-defined here: https://github.com/redbear/firmware/blob/duo/hal/src/duo/libraries/btstack/port/btstack_config.h#L45. To make it effect if you modify the macro definition, you’ve to re-build the system firmware for the Duo.

Best regards,
Guohui