<?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>Scanning at low priority / pre-emptive scan?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66147/scanning-at-low-priority-pre-emptive-scan</link><description>I have some question about the scan timing, referring to the documentation here: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s132%2FSDS%2Fs1xx%2Fmultilink_scheduling%2Fscanner_timing_primary_channel.html 
 
 I am working on a design where</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Sep 2020 11:59:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66147/scanning-at-low-priority-pre-emptive-scan" /><item><title>RE: Scanning at low priority / pre-emptive scan?</title><link>https://devzone.nordicsemi.com/thread/270571?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 11:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ead8c45d-6800-4079-b5d3-1b5e4a04ed9c</guid><dc:creator>TylerD</dc:creator><description>&lt;p&gt;Ok thank you very much, this is clear now.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanning at low priority / pre-emptive scan?</title><link>https://devzone.nordicsemi.com/thread/270569?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 11:52:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0497b61-ca7d-401e-887a-144146760077</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;There is no logic in the softdevice that reduce the size of the scan window or interval due to connection events. The scan event will once scheduled allocate the entire scan window. The next scan window is calculated after the previous scan window is finished, if the next calculated scan window is already taken by a connection event, then the scan window is skipped by one scan interval period (or several periods if there are multiple connections that may be active).&lt;/p&gt;
&lt;p&gt;By having shorter scan window and intervals than connection intervals, the connection intervals will always be able to schedule the next connection event before it can be used by the scan event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanning at low priority / pre-emptive scan?</title><link>https://devzone.nordicsemi.com/thread/270564?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 11:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54cf9aec-5ec3-439a-aead-e0091c989933</guid><dc:creator>TylerD</dc:creator><description>&lt;p&gt;Ok, thanks for the fast answer. Just to verify: the 10ms/10ms scan timing means that the scan&amp;nbsp;window will start &lt;strong&gt;at most&lt;/strong&gt; every 10 ms?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I understood right, the connection events will take higher priority and the scan is executed after&amp;nbsp;connection events are handled. That would mean the actual scan interval will be much smaller than 10ms, depending on how many active connections there are. ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanning at low priority / pre-emptive scan?</title><link>https://devzone.nordicsemi.com/thread/270552?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 11:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5e751cb-adb9-43bd-8807-51d1714ced2f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For the scanning to have minimum impact on the current connections, I recommend to set scan window and interval to small values, e.g. 10ms / 10ms. The scanning will then be interleaved between active connections. This is because typically connections will have longer interval, and thereby will be able to schedule the next &amp;quot;slot&amp;quot; well ahead of when scanning will try to request the same &amp;quot;slot&amp;quot;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>