i am using Nrf52840 with SDK 132 and version 13.
here is the initialization
ble_radio_notification_init(APP_IRQ_PRIORITY_LOW, NRF_RADIO_NOTIFICATION_DISTANCE_5500US, Radio_Event);
this is Event Handler
void Radio_Event(bool radio_active)
{
if (radio_active)
{
NRF_LOG_INFO("BLE STOP!\r\n");
sd_ble_gap_adv_stop();
}
else
{
NRF_LOG_INFO(" Radio is inActive \r\n");
}
}
the problem is Active Radio and inActive Radio events Loop. First time, i got radio active event, inside active radio i used sd_ble_gap_adv_stop(); to stop the Advertising. then he should not give me any kind of event. but i got loop of active and inactive events. but in real there is no advertising after calling the sd_ble_gap_adv_stop();
Thank you