<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scan end event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7299/scan-end-event</link><description>Can I somehow catch end of scan window on S130? I need to do some processing after each scanning.
Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jun 2015 15:01:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7299/scan-end-event" /><item><title>RE: Scan end event</title><link>https://devzone.nordicsemi.com/thread/25805?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 15:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc35f320-77f7-4de6-a97a-9ce9b16d2f1e</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Yaroslav&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan end event</title><link>https://devzone.nordicsemi.com/thread/25802?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 10:34:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb49a864-d6a9-4363-8c47-b18aa765ce83</guid><dc:creator>Yaroslav</dc:creator><description>&lt;p&gt;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&amp;#39;t be done at receiving each adv data bcs it takes long time and can affect scanner&amp;#39;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan end event</title><link>https://devzone.nordicsemi.com/thread/25804?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 07:26:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7636537e-5e24-4c00-ac0f-e12aba0b7689</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Your understanding is correct. I assumed your application was just scanning, since that was the only thing you mentioned. If you clarify your question a bit (What kind of processing? Process only on successful scans, or every scan window? What else is happening simultaneously?) it would be easier to propose a solution for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan end event</title><link>https://devzone.nordicsemi.com/thread/25803?ContentTypeID=1</link><pubDate>Thu, 28 May 2015 15:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72161a4d-bba4-4ca5-a08c-018177ed098c</guid><dc:creator>Yaroslav</dc:creator><description>&lt;p&gt;Thanks, it&amp;#39;s helpful feature but it doesn&amp;#39;t cover my needs. As I understand it generates notifications for any radio activity but I can&amp;#39;t choose exactly scanning. So, I will not able to separate notifications - for example: which are because of connection and which are generated because of scanning...
Correct me if I&amp;#39;m not right.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan end event</title><link>https://devzone.nordicsemi.com/thread/25801?ContentTypeID=1</link><pubDate>Thu, 28 May 2015 09:47:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c3f72b3-0ea9-4b61-b4cf-f9c93d0a29b5</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the radio notification feature for this. It will give you an optional event when the radio is active/inactive (or both).&lt;/p&gt;
&lt;p&gt;See the documentation for sd_radio_notification_cfg_set() if you think this can solve your problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>