<?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>Timeout for directed slow advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14358/timeout-for-directed-slow-advertising</link><description>In the BLE advertising library, in SDK 11, is the timeout for directed slow advertising specified in seconds, or in number of tries? 
 Seconds would be more consistent with the timeouts on the other modes (directed fast, fast, slow). But the field on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Dec 2016 16:04:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14358/timeout-for-directed-slow-advertising" /><item><title>RE: Timeout for directed slow advertising</title><link>https://devzone.nordicsemi.com/thread/54815?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 16:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3089cb5f-d014-4346-ae9b-4836f15b0679</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Based on my testing, it looks like the comment in &lt;code&gt;ble_advertising.h&lt;/code&gt; is wrong. &lt;code&gt;ble_adv_directed_slow_timeout&lt;/code&gt; is in seconds, NOT number of tries (unless each &amp;quot;try&amp;quot; is 1s, regardless of the interval). The comment is still there in SDK 13.0.0-1.alpha.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timeout for directed slow advertising</title><link>https://devzone.nordicsemi.com/thread/54814?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2016 07:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9187a4a7-146f-492f-8f70-95228c403cc3</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Maybe I am misunderstanding your question, but isn&amp;#39;t that given by the line above?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;typedef struct
{
    ...
    uint32_t ble_adv_directed_slow_interval;  /**&amp;lt; Advertising interval for directed advertising. */
    uint32_t ble_adv_directed_slow_timeout;   /**&amp;lt; Time-out (number of tries) for direct advertising. */
    ...
} ble_adv_modes_config_t;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you have a slow advertising interval of e.g. 100ms and a timeout of 10 tries your device will be advertising for&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;10 tries * 100 ms/try = 1 second
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>