cancel
Showing results for 
Search instead for 
Did you mean: 

Characteristic with write and notification parameter: the data automatically sent back to the device after write to.

Vyacheslav
Senior II

STM32WB55

Why I can`t post question in any group?

This question i want to post in STM32WB55 but receive error "You can't add new topics, so select existing topics for your post"

Hi.

I use characteristic with properties: CHAR_PROP_WRITE | CHAR_PROP_NOTIFY.

And after enable notification on this characteristic, when to write any data to them, notification fire 2 times.

Example:

1. Enable notification from peer.

2. From peer write data to characteristic.

3. When EVT_BLUE_GATT_WRITE_PERMIT_REQ event raised, async or sync change characteristic value by aci_gatt_update_char_value.

Result: in peer, notification will come 2 times. If change characteristic value by aci_gatt_update_char_value after delay, first notify came at once after write, second notify came after delay.

How can this be explained?

0 REPLIES 0