<?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>About nRF51822 scan window and scan interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66721/about-nrf51822-scan-window-and-scan-interval</link><description>Hello, 
 I am using nRF51822, SDK12.3.0, pca10028, S130 as a central scanner. 
 Now I set the scan interval to 100ms and the scan window to 50ms. It is planned to use 50ms to scan ADV data, calculate it in the other 50ms. 
 And the question is, how to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Oct 2020 13:57:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66721/about-nrf51822-scan-window-and-scan-interval" /><item><title>RE: About nRF51822 scan window and scan interval</title><link>https://devzone.nordicsemi.com/thread/273268?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 13:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a622e45-817a-403e-a9dc-954d3b23685b</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will get BLE_GAP_EVT_ADV_REPORT events during the scanning, for each advertisement scanned. See the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.api.v2.0.1%2Fgroup___b_l_e___g_a_p___s_c_a_n___m_s_c.html"&gt;Scanning&lt;/a&gt; message sequence chart, and the documentation for &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s130.api.v2.0.1%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=ga3db84fa4870b155489187103906cf318"&gt;sd_ble_gap_scan_start()&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If handling of the received advertisements requires some computation, then you may want to handle the event in main context. For that you can use the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v12.3.0%2Flib_scheduler.html"&gt;Schedule handling library&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>