cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB BLE

teja_111
Associate II

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

1 REPLY 1
teja_111
Associate II

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