Skip to main content
Visitor II
May 28, 2024
Question

STM32WB BLE

  • May 28, 2024
  • 1 reply
  • 648 views

Hello ST,

For our project, I want to broadcast a character with property "CHAR_PROP_BROADCAST" and I created it using the function aci_gatt_add_char(). But the function fails to add this character.

In other case, when i change the property to "CHAR_PROP_READ", the  character is added successfully.

Could you help me or provide me an example on how to broadcast a service using BROADCAST property ?

 

Thanks & Regards

Teja

    This topic has been closed for replies.

    1 reply

    teja_111Author
    Visitor II
    May 28, 2024

    Hello ST,

    I was able to solve the problem. The error was in the service max_attributes _records. I forgot to add the client char configuration descriptor for the broadcast type.

    But how can i test, whether the characteristic is broadcasting? I am using "aci_gatt_update_char_value()" this function for updating the characteristic value.

    Please let me know, How this broadcast property of the character works or provide me an example ?

    Regards

    Teja