<?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>Speed up scanning of advertising time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73710/speed-up-scanning-of-advertising-time</link><description>I use pc-ble-driver to control nRF52840 dongle. I want to speed up scanning of advertising time. 
 So I change SCAN_INTERVAL and SCAN_WINDOW. 
 How can I modify the parameters anyway. 
 The scanning speed is not less than 30ms.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Apr 2021 18:40:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73710/speed-up-scanning-of-advertising-time" /><item><title>RE: Speed up scanning of advertising time</title><link>https://devzone.nordicsemi.com/thread/304919?ContentTypeID=1</link><pubDate>Wed, 14 Apr 2021 18:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3c4bcb4-7a27-44ac-b1b3-cdba1f6e814d</guid><dc:creator>TimLin</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I use GetSystemTime function to record the computer time of each event.&lt;/p&gt;
&lt;p&gt;But Now,I change the api version (nrf-ble-driver-sd_api_v5-mt-4_1_4.dll).&lt;/p&gt;
&lt;p&gt;The old&amp;nbsp;&lt;span&gt;version&amp;nbsp;I used is 4_1_2.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It&amp;nbsp;can receive faster. I&amp;nbsp;&lt;span&gt;measure&amp;nbsp;&lt;/span&gt;&lt;span&gt;the time is 15ms.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks you for your reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tim&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Speed up scanning of advertising time</title><link>https://devzone.nordicsemi.com/thread/303961?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 10:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a4fae78-0a1c-44b9-b2d1-5f41b33aee7a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Okay, what is the advertising interval in the peripheral you&amp;#39;re scanning for, as it will also&amp;nbsp;depend on how often that device advertise, In BLE, the time between advertisement packets is the advertising interval + a random delay of 0-10 ms (as defined by the BLE specification).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you also provide some information as to&amp;nbsp;&lt;strong&gt;how&amp;nbsp;&lt;/strong&gt;you measure the time between received advertising events.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Speed up scanning of advertising time</title><link>https://devzone.nordicsemi.com/thread/303889?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 03:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2de8f9d0-cc0d-473b-9f73-585a1a9520af</guid><dc:creator>TimLin</dc:creator><description>&lt;p&gt;&lt;span&gt;Scanning speed&amp;nbsp;30ms means receiving the advertising&amp;nbsp;events every 30ms.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I set&amp;nbsp;SCAN_INTERVAL 20ms, but I still&amp;nbsp;receive the&amp;nbsp;advertising&amp;nbsp;events&amp;nbsp;every 30ms.&lt;/span&gt;&lt;/p&gt;
&lt;div style="height:40px;position:absolute;top:22.6667px;width:93px;" id="gtx-anchor"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble gtx-bubble" style="top:73px;"&gt;
&lt;div class="jfk-bubble-content-id" id="bubble-2"&gt;
&lt;div id="gtx-host"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="jfk-bubble-closebtn-id jfk-bubble-closebtn"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble-arrow-id jfk-bubble-arrow jfk-bubble-arrowup" style="left:15px;"&gt;
&lt;div class="jfk-bubble-arrowimplbefore"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble-arrowimplafter"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Speed up scanning of advertising time</title><link>https://devzone.nordicsemi.com/thread/303770?ContentTypeID=1</link><pubDate>Thu, 08 Apr 2021 12:29:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:827ce686-f411-441c-a167-d384511d0348</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What do you mean by scanning speed? Is this the time between each scanning window or what?&lt;/p&gt;
&lt;p&gt;To edit the scan interval it should be sufficient to use the SCAN_WINDOW and SCAN_INTERVAL variables. The central will scan for SCAN_WINDOW time, every SCAN_INTERVAL interval. These parameters are generally given in units of 0.625ms. So if you set SCAN_INTERVAL = SCAN_WINDOW, you should scan 100% of the time.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>