<?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>Initiating more than one scanning instance with SDK15 (s140)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45917/initiating-more-than-one-scanning-instance-with-sdk15-s140</link><description>Hi, 
 
 We are developing a new internal engineering tool that mostly does passive scanning on the NRF52840 dongle connected over USB but I&amp;#39;d like to be able to switch to active scanning on demand. 
 I think what I&amp;#39;d like to do is have multiple scanning</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Apr 2019 12:19:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45917/initiating-more-than-one-scanning-instance-with-sdk15-s140" /><item><title>RE: Initiating more than one scanning instance with SDK15 (s140)?</title><link>https://devzone.nordicsemi.com/thread/181042?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 12:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a9d02a0-48c8-4f76-8c48-50d4c6a2a429</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Manny,&lt;/p&gt;
&lt;p&gt;Is the only difference with your scanning sets the scan_params.active ?&lt;/p&gt;
&lt;p&gt;If so, does it matter that you scan with active = true instead of switching between true or false? The difference will only be whether you send a scan request or not (to get a scan response if the advertiser has a scan response packet).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can only scan with one scanning instance at the time. But it shouldn&amp;#39;t be a problem to stop and start. Is there a reason why you don&amp;#39;t want to do this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In addition, I would recommend that you increase your scan interval and window a bit. 5 ms means that you swich scan channel every 5ms. Given that an advertisement takes roughly 0.5ms, you have a relative high chance of getting a half advertising packet, then changing channel. This means that you will miss about 1 in 10 advertising packets. It may not be a problem, but it is something to consider.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>