Skip to main content
MGhad.2
Visitor II
October 5, 2020
Question

STM32WB completed Advertising Interrupt

  • October 5, 2020
  • 1 reply
  • 586 views

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
Technical Moderator
October 14, 2020

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.