<?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>nrf52 no timeout advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22266/nrf52-no-timeout-advertising</link><description>Hi,
I want nrf52 to advertise infinitely without restarting it. What value should I set ble_adv_fast_timeout?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 May 2020 06:15:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22266/nrf52-no-timeout-advertising" /><item><title>RE: nrf52 no timeout advertising</title><link>https://devzone.nordicsemi.com/thread/248615?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 06:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b78e2a07-c26c-47a3-8a66-965f49ddbcce</guid><dc:creator>Manoj Hiwarkar</dc:creator><description>&lt;p&gt;ok. How to implement the same thing in Beacon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 no timeout advertising</title><link>https://devzone.nordicsemi.com/thread/87532?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 09:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17ad0c78-2568-49ae-9ebf-b0ba0acd5e10</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;Great! Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 no timeout advertising</title><link>https://devzone.nordicsemi.com/thread/87531?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 08:21:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee5f4985-66b4-4f3e-9971-9658ccd55866</guid><dc:creator>erltot</dc:creator><description>&lt;p&gt;Hi! Try to set timeout to 0 like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define APP_ADV_TIMEOUT_IN_SECONDS 0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and change advdata flag from &amp;quot;BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE&amp;quot; to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;static void advertising_init(void){
    ...
    advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
    ...
    options.ble_adv_fast_timeout  = APP_ADV_TIMEOUT_IN_SECONDS;
    ...
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>