<?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>Can we increase the directed slow advertising timeout value to 10 mins or it is only fixed to 180 seconds ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32696/can-we-increase-the-directed-slow-advertising-timeout-value-to-10-mins-or-it-is-only-fixed-to-180-seconds</link><description>Hi, 
 
 I am implementing the whitelisting feature so that the NRF52 only pairs with one phone at a time. We require the NRF52 to advertise for 10 mins but I could only set the fast advertising timeout to 30 seconds while the slow advertising interval</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Apr 2018 09:29:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32696/can-we-increase-the-directed-slow-advertising-timeout-value-to-10-mins-or-it-is-only-fixed-to-180-seconds" /><item><title>RE: Can we increase the directed slow advertising timeout value to 10 mins or it is only fixed to 180 seconds ?</title><link>https://devzone.nordicsemi.com/thread/126783?ContentTypeID=1</link><pubDate>Wed, 04 Apr 2018 09:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:800d54f3-cdc0-4914-8ccb-4888496254f6</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;How do you set the timeouts? Do you set the timeouts using ble_adv_modes_config_t before calling ble_advertising_init() in advertising_init() in main.c?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;typedef struct
{
    bool     ble_adv_on_disconnect_disabled;  /**&amp;lt; Enable or disable automatic return to advertising upon disconnecting.*/
    bool     ble_adv_whitelist_enabled;       /**&amp;lt; Enable or disable use of the whitelist. */
    bool     ble_adv_directed_enabled;        /**&amp;lt; Enable or disable direct advertising mode. */
    bool     ble_adv_directed_slow_enabled;   /**&amp;lt; Enable or disable direct advertising mode. */
    bool     ble_adv_fast_enabled;            /**&amp;lt; Enable or disable fast advertising mode. */
    bool     ble_adv_slow_enabled;            /**&amp;lt; Enable or disable slow advertising mode. */
    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. */
    uint32_t ble_adv_fast_interval;           /**&amp;lt; Advertising interval for fast advertising. */
    uint32_t ble_adv_fast_timeout;            /**&amp;lt; Time-out (in seconds) for fast advertising. */
    uint32_t ble_adv_slow_interval;           /**&amp;lt; Advertising interval for slow advertising. */
    uint32_t ble_adv_slow_timeout;            /**&amp;lt; Time-out (in seconds) for slow advertising. */
} ble_adv_modes_config_t;
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>