cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way of using ACI_HAL_END_OF_RADIO_ACTIVITY_VSEVT_CODE event to send data every connection event?

WRosé.1
Associate II

I would like to keep updating a char value with every connection event.

Im using a stm32wb15.

every time I get a

ACI_HAL_END_OF_RADIO_ACTIVITY_VSEVT_CODE with last state 0x02 which correspond to - 0x02: Connection event slave.

As I understand this means a connection event has ended and I can now update the char value again with

aci_gatt_update_char_value(...)

But it seems that ACI_HAL_END_OF_RADIO_ACTIVITY_VSEVT_CODE with last state 0x02 happens more frequently than the connection interval and I get an error from aci_gatt_update_char_value.

Is the last state 0x02 not corresponding to the connection event?

And do you have any suggestions on how to update the char value and send indication every connection event?

Best regards Wallentin

11 REPLIES 11
WRosé.2
Associate II

The device is another wb.

Best regards

The device is another wb

best reagrds