Hello,
I would like to execute some code when/before sending an advertisement. I tried to do this by using ble_radio_notification_init. Unfortunately for every advertisement I send the code I set in the radio notification is executed 3-4 times. I assumed that this was because the advertisement was sent on all three channels. So I did set m_adv_params.channel_mask[4] = 0xC0 to only advertise on channel 37. Still the same result. How can I execute the function only once per advertisement? Why is it sometimes 3 and sometimes 4 times?
Best Regards