<?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>Fastest rate at which to rapidly switch advertising data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46038/fastest-rate-at-which-to-rapidly-switch-advertising-data</link><description>Hello, 
 We have an application based on ble_app_blinky that is actively scanning for advertised packets but does not attempt to connect. We have a second application based on usbd_ble_uart that will broadcast (BLE advertising) small packets of data that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2019 05:07:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46038/fastest-rate-at-which-to-rapidly-switch-advertising-data" /><item><title>RE: Fastest rate at which to rapidly switch advertising data</title><link>https://devzone.nordicsemi.com/thread/181443?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 05:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c3183ab-082f-45fd-b675-f88764cfcbae</guid><dc:creator>Fred</dc:creator><description>&lt;p&gt;The device will transmit on&amp;nbsp;an advertising channels, then listen shortly for a response and then continue to the next advertising channel. After all 3 channels, the device stops (i.e. radio switches off) and waits for the advertising interval to end after which the process repeats.&lt;/p&gt;
&lt;p&gt;A nice way of getting insight into timing of this process is looking at Nordic&amp;#39;s &amp;quot;&lt;a href="https://devzone.nordicsemi.com/power/" rel="noopener noreferrer" target="_blank"&gt;Online Power Profiler&lt;/a&gt;&amp;quot;. That gives you all the information about timing (which also depends on the contents of the advertising packet) and the associated power consumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fastest rate at which to rapidly switch advertising data</title><link>https://devzone.nordicsemi.com/thread/181416?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 20:26:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45c83be0-042a-4193-a079-749bd2b4ec38</guid><dc:creator>calebt</dc:creator><description>&lt;p&gt;Great, thanks!&lt;/p&gt;
&lt;p&gt;By &amp;quot;yes, that&amp;#39;s correct&amp;quot;, you mean that&amp;nbsp;the device will advertise on the 3 channels one after the other, then stop advertising. It will then wait for the interval to be over before advertising again, correct?&lt;/p&gt;
&lt;p&gt;One last question: do you know how long the device will advertise on a single channel before moving on to the next one?&amp;nbsp; We would want to shrink the advertising interval down as much as possible--if we only advertise on a single channel, we&amp;#39;d basically want to set the interval to exactly the length of time needed for the device to advertise once on the channel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fastest rate at which to rapidly switch advertising data</title><link>https://devzone.nordicsemi.com/thread/181415?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 20:17:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db559b2e-8ecb-4223-bf59-275b8943de17</guid><dc:creator>Fred</dc:creator><description>&lt;p&gt;Yes that&amp;rsquo;s correct. Also it is possible to configure channel masks for both advertise and scan on a single channel (there are several questions on this forum discussing this). As of Bluetooth 5 one can also advertise on all other data channels. However, advertising on a single channel makes the application more vulnerable for interference of course. But it depends on the environmental setting of your application whether this is a problem of course.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fastest rate at which to rapidly switch advertising data</title><link>https://devzone.nordicsemi.com/thread/181408?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 19:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df7eb45e-1c76-48cf-b57d-c88807b52246</guid><dc:creator>calebt</dc:creator><description>&lt;p&gt;Thank you for the useful figure, Fred!&amp;nbsp; Just a couple follow-ups:&lt;br /&gt;&lt;br /&gt;Looking at the &amp;quot;Advertising interval&amp;quot; figure, it seems that the device will advertise on the 3 channels one after the other, then stop advertising. It will then wait for the interval to be over before advertising again, correct?&amp;nbsp; Or is the device advertising on the 3 channels repeatedly until the interval is over?&lt;br /&gt;&lt;br /&gt;Also, is it possible to both advertise and scan exclusively on one channel to raise the probability of catching the packet?&lt;/p&gt;
&lt;p&gt;We really wanted this design to be more beacon-esque because we wanted a couple hundred devices in the vicinity to receive the same packets at around the same time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fastest rate at which to rapidly switch advertising data</title><link>https://devzone.nordicsemi.com/thread/181397?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 18:05:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bb1427c-c94c-4f59-b57e-a6b778c3a908</guid><dc:creator>Fred</dc:creator><description>&lt;p&gt;I&amp;#39;m wondering&amp;nbsp;if I understand your requirement correctly because if you don&amp;#39;t want to miss any advertising packets, you need to advertise longer; since the scanner is scanning on all 3 channels, there is always a &lt;em&gt;probabilty&lt;/em&gt; that it will not&amp;nbsp;detect&amp;nbsp;an advertising packet during this advertising event. This probability depends on&amp;nbsp;&lt;span style="font-weight:400;"&gt;the ratio between the scan idle time and the scan interval (see figure below). The probability of the scanner not detecting a peripheral becomes very low after a&amp;nbsp;number of advertising intervals (the ratio to the power of the number of advertising intervals&lt;i&gt;)&lt;/i&gt;, but will never be 0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/Advertising-event.png" /&gt;&lt;/p&gt;
&lt;p&gt;I guess you have a reason&amp;nbsp;for&amp;nbsp;not simply connecting to the peripheral? Depending on advertising packets for reliable data is not a good approach in my experience. I have a neighbor who has over a 100 BLE beacons (we&amp;#39;re not friends ;-) and connecting to a peripheral takes at least a couple of tries, i.e. my application&amp;nbsp;most of the time&amp;nbsp;fails to detect the peripheral during a number of advertising events.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>