Hello,
You can set the scan window and scan interval to short periods (e.g. both to 5 ms), this will usually schedule the scanning between connection/advertising events, and will cause the least amount of effect on the active links.
But there is no way for the application to know exactly if scanning or advertisement is occurring. You can use the radio notification event that knows if some radio event is happening. There is a limitation as you would only measure the length of the radio notification event to know which type of event (radio) that occurred. So, it may not be feasible idea for you. If you are interested in the radio notification event, can look at ble_radio_notification module in nRF5 SDK.
Thanks.
Best Regards,
Kazi Afroza Sultana
I understand. Thank you very much for your kind attention!
Great. Happy to help.
Regards,
Kazi Afroza Sultana
Great. Happy to help.
Regards,
Kazi Afroza Sultana