<?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>missing ADV events while scanning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75791/missing-adv-events-while-scanning</link><description>I am using nrf52DK board as an observer to test my beacons. I have kept scanning enabled all the time (scanning interval &amp;amp; scanning window same), but the scan_evt_handler() is missing beacons many times, it is not able to capture all the beacons. I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jun 2021 15:12:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75791/missing-adv-events-while-scanning" /><item><title>RE: missing ADV events while scanning</title><link>https://devzone.nordicsemi.com/thread/317287?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 15:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8f07112-5380-4b4f-9e11-99c743e46b1b</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;The BLE spec requires a jitter in the advertising interval. I.e. there is a random extra time delay of 10ms added to each advertising interval. This is to avoid situations where a peripheral and a central device with the exact same advertising- and scan interval never hear each other. Hence, with a scan window equal to the advertising interval you might actually still miss the advertising packet.&lt;/p&gt;
&lt;p&gt;If you have a scan window that is exactly as long as the advertising interval then it comes down to the scan interval. With short intervals you will find your device fast, and with long intervals it might take some time. However, I guess that statistically you will need to have your radio on for an equal amount of time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: missing ADV events while scanning</title><link>https://devzone.nordicsemi.com/thread/315573?ContentTypeID=1</link><pubDate>Wed, 16 Jun 2021 10:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14463b1a-89bd-467a-aaac-087e6c22bd64</guid><dc:creator>kizhimon</dc:creator><description>&lt;p&gt;they are kept close by, less than 30 cm. But sometimes the interval changes to one beacon/2 minute. I am advertising on all 3 channels. Is there a chance that, the scanner misses the beacon when it switches the channel (37-&amp;gt;38-&amp;gt;39) while scanning ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: missing ADV events while scanning</title><link>https://devzone.nordicsemi.com/thread/313602?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 10:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70456baa-4567-4124-a064-8a7af2e0e303</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Ok, then you should be able to receive it.&lt;/p&gt;
&lt;p&gt;Do you know how many times you miss the broadcast from the beacon?&lt;/p&gt;
&lt;p&gt;What is the distance between the two?&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: missing ADV events while scanning</title><link>https://devzone.nordicsemi.com/thread/312889?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 12:57:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db9f7dc2-6f4e-452c-b408-629cefccb7e7</guid><dc:creator>kizhimon</dc:creator><description>&lt;p&gt;I send beacon every 1 second from one device, but there can be many other beacons in surrounding&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: missing ADV events while scanning</title><link>https://devzone.nordicsemi.com/thread/312817?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 10:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49635f40-d856-4aa2-bfbd-154a0e44c021</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;How many beacons are you trying to capture the adv. from?&lt;/p&gt;
&lt;p&gt;How are the adv. interval set up for the beacons?&lt;/p&gt;
&lt;p&gt;If there are several beacons, there might be some collisions causing the scanner to miss some events.&lt;/p&gt;
[quote user=""]will connecting an antenna to nrf52 DK board (as given below)&amp;nbsp; help&amp;nbsp;it to receive all the ADV events.[/quote]
&lt;p&gt;&amp;nbsp;As long as the beacons aren&amp;#39;t far away and range isn&amp;#39;t an issue, I don&amp;#39;t think the antenna would increase the amount of adv. received. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>