2024-07-23 01:43 AM
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.
Solved! Go to Solution.
2024-08-26 09:02 AM - edited 2024-09-02 09:19 AM
Hello @JR2963
As suggested on this post, i suggest you change the mentioned parameters to be compatible with your Case.
PS: 0x98 = out of memory.
Just don't forget to use the last version of CubeWB, CubeMX/IDE and to update your node with the last versions of the right FUS and Stack. If this is a personnel design, please try to check on it with an expert and repeat the same test on a Nucleo board before.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-07-23 01:58 AM
@JR2963 wrote:the function aci_gatt_add_char returns the error code 0x98.
Have you looked-up what that code means?
2024-07-23 06:53 AM
I tried, but I couldn't find out what it means.
2024-08-26 09:02 AM - edited 2024-09-02 09:19 AM
Hello @JR2963
As suggested on this post, i suggest you change the mentioned parameters to be compatible with your Case.
PS: 0x98 = out of memory.
Just don't forget to use the last version of CubeWB, CubeMX/IDE and to update your node with the last versions of the right FUS and Stack. If this is a personnel design, please try to check on it with an expert and repeat the same test on a Nucleo board before.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.