<?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 of Extended Advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90697/scanning-of-extended-advertising</link><description>Hi, 
 I currently do some advertising tests with Nordic&amp;#39;s nRF52840-DK and Zephyr. I have one board doing extended advertisements, one transmission every second. By means of a sniffer I can clearly verify that this board is doing well. And I have a second</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Dec 2022 13:01:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90697/scanning-of-extended-advertising" /><item><title>RE: Scanning of Extended Advertising</title><link>https://devzone.nordicsemi.com/thread/400620?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 13:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6efb46b4-ec42-4c52-aca2-f19804ea5b6b</guid><dc:creator>axel_s</dc:creator><description>&lt;p&gt;I use Linux (Ubuntu 20.04).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanning of Extended Advertising</title><link>https://devzone.nordicsemi.com/thread/399452?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 13:56:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2984c856-79e2-4d50-90f4-7472304dc554</guid><dc:creator>Yin Hinton</dc:creator><description>&lt;p&gt;Ahh, I see. Thank you for clarifying. If you dont mind my asking, is your set up running windows or some other os like linux?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanning of Extended Advertising</title><link>https://devzone.nordicsemi.com/thread/399353?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 09:26:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ddadd85-2cde-4d2e-b21d-42bf1b6c470d</guid><dc:creator>axel_s</dc:creator><description>&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;as I wrote above - I use nRF52840-DK for both the advertiser and the scanner. Edvin pointed exactly to the issues I was looking for. It&amp;#39;s running now, and I can tell you that when scanning all the time (i.e. scan_interval = scan_window) the devices are able to follow also fast traffic.&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Axel&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanning of Extended Advertising</title><link>https://devzone.nordicsemi.com/thread/399063?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 20:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab45fa7f-e199-456d-b735-45189c7cb4ea</guid><dc:creator>Yin Hinton</dc:creator><description>&lt;p&gt;Slightly unrelated question, What are you using for your scanner? My company is working on a similar application but is hitting a hiccup on finding a viable scanner for extended advertising purposes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scanning of Extended Advertising</title><link>https://devzone.nordicsemi.com/thread/380549?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2022 09:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8d62222-a340-4083-85c3-2799ab67c057</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Without having tested this now, I suspect that the 3..5 second gaps that you see are caused by a mismatch in the advertising and scanning parameters.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can read a bit about advertising intervals, and scan window and intervals here:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/bluetooth-smart-and-the-nordics-softdevices-part-1"&gt;Bluetooth Smart and the Nordic&amp;#39;s Softdevices - Part 1 GAP Advertising&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2:&lt;br /&gt;While it is possible, I don&amp;#39;t really see any benefits restricting the advertising or scanning to only one channel. The scanner will scan on one channel for the entire scan window, and the advertiser will advertise on all 3 channels every advertising interval. I suggest that you first look into your scan parameters.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What you typically want to look out for is that advertisements continuously end up in the &amp;quot;non-scanning&amp;quot; part of the scan interval. Imagine if you have a scan window of 50% of the scan interval, the advertising interval is set to 1 second, and you set the scan interval to 1 second.&lt;/p&gt;
&lt;p&gt;In this case, you may end up with a scanner that will not see any advertisements, because the advertisements arrive when the scanner is not scanning. Setting the scan interval to 1.5 seconds will make sure that you don&amp;#39;t end up with a lot of advertisements being missed in a row.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NB: Peripherals will send out an advertisement packet on all 3 channels (in a burst) every connection interval + 0-10ms. This 0-10ms random delay is added according to the Bluetooth specification. The reason for the 0-10ms random delay is to prevent the issues related to this post. To add drift to the advertising interval so that they avoid that some scanners will not see particular advertisers.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, if you want to, you can set the scan window equal to the scan interval. If you are not using the radio for anything else (if you are not in a connection already), that should be fine as long as you are aware that it also consumes more power. You can at least test this for debugging purposes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>