Skip to main content
MGhad.2
Visitor II
Oct 5, 2020 3:37 PM UTC
Question

STM32WB completed Advertising Interrupt

Hello,

is there anyway to get an event or interrupt, after the transmission is finished of each packet from Advertising. I know this depends on Intervals Min and Max buti don't want to make a timer to syncronize an interrupt with the intervals. Thanks.

This topic has been closed for replies.

1 reply

Remi QUINTIN
ST Technical Moderator
Oct 14, 2020 2:09 PM UTC

Aci_hal_set_radio_activity_mask(0x0002) bitmask of advertising can be used to detect the end of advertising phase.

The ACI_HAL_END_OF_RADIO_ACTIVITY_EVENT is generated at the end of each radio activity and so at the end of the last advertising packet during the advertising phase.