<?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>Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18371/directed-fast-advertising-timeout-and-scanning-at-low-power</link><description>We have an nRF51822 peripheral device that is bonded with one and only one central. The central is always an iOS or Android phone running our app, which is scanning at &amp;quot;low power&amp;quot;, whatever that means for each mobile platform. 
 For Android (at least</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Dec 2016 18:40:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18371/directed-fast-advertising-timeout-and-scanning-at-low-power" /><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70924?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 18:40:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d456b4e-61a1-4a3c-9760-b0336f444b6a</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;@petter Thanks. Converted one of your comments to an answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70922?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 14:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8fac9c1-437e-470c-9ac7-b83480265a20</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I can&amp;#39;t tell you how you can be reasonable sure that a connection is established in a certain amount of time. You will have to tune the scan window, scan interval, advertising interval to fit your application, I don&amp;#39;t know your power budget, I don&amp;#39;t know how long a connection establishment can take before the customer thinks it&amp;#39;s too long, I don&amp;#39;t know how much interference and packet loss there will be in the environment where the device are going to connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70921?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 14:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e019650-4bd9-4679-ab0e-e80edb63cec3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I would at least see if the minimum advertising interval (20 ms, but 25 ms averaged) with normal advertising is sufficient to fulfill the requirements of your use case. It seems you are tied to low power scanning (I&amp;#39;m not sure why), but with 500 ms scan window and 5000 ms scan interval, and with 20 ms advertising interval the central should receive 500/25 = 20 advertisments every 5 seconds. With an advertising interval of 60 ms (65 ms averaged) the central should receive 500/65 = 7.7 advertisments every 5 seconds. Here I assume that there is no packet loss or interference, which there always is. So the smaller the advertising interval the higher chance the central has of receiving a higher number of advertisments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70923?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 14:45:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa924a3e-820f-4479-8e52-62769d7cd4f2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;High duty cycle directed advertising the advertising interval is less than 3.75ms, and is usually used just after a link loss, because then you know that the scanner is actually scanning, so that you don&amp;#39;t waste power spamming advertisments when there is noone listening. It can be used in other scenarioes, but it is an extreme measure, where latency is important, but power consumption is not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70916?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 14:01:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12da92d6-a56b-48c1-b7ae-048833802b00</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Yes: can you confirm that directed (fast) advertising is not helpful in this situation? And do I really have to advertise for 15s in order to be reasonably sure of a connection?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70915?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 13:51:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b6cfe6d-d3bb-45b7-8496-862384ed6353</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I know that the scanner does not. Do you have any more questions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70920?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 13:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:065ab0e7-8375-41a4-949e-f7ff32932d71</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;I understand that the peripheral uses all three channels each time. But the scanner does not - look at the top of the same picture. As for the point about two requiring two advertising packets, I guess that&amp;#39;s an argument for either advertising for longer or decreasing the advertising interval, or both.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70919?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 13:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15e7c77b-24b2-4aa4-a4bc-61b34bd9b37d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Every advertising interval the peripheral sends out three advertising packets, one on each of the advertising channels, it doesn&amp;#39;t stick to one channel. You can see that in the third picture in the blog you linked to. Also be aware that typically a central has to receive at least two advertising packets, one to tell the central what kind of device it is, and one so that the central can send connetion request to it. This is because the central can only send a connection request to the advertiser in a small RX window that is open just after an advertisment is sent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70918?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 11:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4df8dd79-994c-4310-ae7b-ba560fbe5a83</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;I end up with 15s because it&amp;#39;s 5s per scan interval for the central, and I need three of them. I&amp;#39;m assuming I need all three channels to be reasonably sure of a connection. So, for example, I miss the connection on channel 37 and again on channel 38 but I get it on channel 39. The advertising interval doesn&amp;#39;t affect this calculation, as far as I can see, but I&amp;#39;ve tested with 30, 60 and 150ms. As long as I&amp;#39;m sending an advertising  packet at least every 500ms, there&amp;#39;ll be one there during every scan window.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed (fast) advertising timeout and scanning at low power</title><link>https://devzone.nordicsemi.com/thread/70917?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 11:14:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4744c3c4-2a14-4a98-8e09-9d70dfc90069</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;High duty cycle directed advertising shall not last more than 1.28 s (but you can restart it after the timeout). How do you end up with 15 s? And what advertising interval are you using in this calculation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>