cancel
Showing results for 
Search instead for 
Did you mean: 

BLE - Can not add more than 3 characteristics to 1 service in STM32WB55

JR2963
Senior

Hello,

I am working on a project using the STM32WB55 and its BLE stack. I am trying to implement a custom service with more than three characteristics. However, when I add a fourth characteristic, the function aci_gatt_add_char returns the error code 0x98.

Interestingly, if I add two more services each with two characteristics (i.e., a total of 3+2+2 = 7 characteristics), there are no issues. The problem occurs only when a single service contains more than 3 characteristics.

I followed the Heart Rate Monitor example.

Thank you for any help.

JR2963_0-1721724037367.png

 

2 REPLIES 2
Andrew Neil
Evangelist III

@JR2963 wrote:

the function aci_gatt_add_char returns the error code 0x98.


Have you looked-up what that code means?

I tried, but I couldn't find out what it means.