This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Scan end event

Can I somehow catch end of scan window on S130? I need to do some processing after each scanning. Thanks!

Parents
  • Hi,

    You can use the radio notification feature for this. It will give you an optional event when the radio is active/inactive (or both).

    See the documentation for sd_radio_notification_cfg_set() if you think this can solve your problem.

  • Hi Yaroslav

    A potential solution: What about starting the scan after an advertising event, get an advertising end event by setting a radio notification set at the end of a radio event. When you get the radio notification event, start scanning and set the scan timeout just slightly longer then the scan window. The softdevice will scan once and then you will get a scan timeout event at the end of the scan event, and there you will set a timer to start a new scan at a later time. What do you think?

Reply
  • Hi Yaroslav

    A potential solution: What about starting the scan after an advertising event, get an advertising end event by setting a radio notification set at the end of a radio event. When you get the radio notification event, start scanning and set the scan timeout just slightly longer then the scan window. The softdevice will scan once and then you will get a scan timeout event at the end of the scan event, and there you will set a timer to start a new scan at a later time. What do you think?

Children
No Data
Related