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.

  • Ok. In general my app does advertising and scanning simultaneously and can be in connection with some master. During each scan app collects adv packets of other devices. After each scanning window app does many jobs like sorting, filtering collected data and makes some decision.. These all can't be done at receiving each adv data bcs it takes long time and can affect scanner's latency. So, due to that I (app) need to know when exactly scanner has finished its job (when scan window expires), otherwise collected data can be corrupted.

Reply
  • Ok. In general my app does advertising and scanning simultaneously and can be in connection with some master. During each scan app collects adv packets of other devices. After each scanning window app does many jobs like sorting, filtering collected data and makes some decision.. These all can't be done at receiving each adv data bcs it takes long time and can affect scanner's latency. So, due to that I (app) need to know when exactly scanner has finished its job (when scan window expires), otherwise collected data can be corrupted.

Children
No Data
Related