<?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>How to disable advertising timeout in BLE peripheral in SDK 12.1?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18854/how-to-disable-advertising-timeout-in-ble-peripheral-in-sdk-12-1</link><description>I am attempting to disable the advertising timeout on the Nordic Beacon with the ble_app_uart example found in SDK 12.1. I am using SD 130. 
 Searching for this issue produced a lot of results, but most were from older SDKs. I&amp;#39;ve tried setting the APP_ADV_TIMEOUT_IN_SECONDS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jun 2018 14:36:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18854/how-to-disable-advertising-timeout-in-ble-peripheral-in-sdk-12-1" /><item><title>RE: How to disable advertising timeout in BLE peripheral in SDK 12.1?</title><link>https://devzone.nordicsemi.com/thread/136595?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 14:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:493d1692-6cba-4264-9932-d6b3fe3e5626</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;nbsp;suvarna_kadam,&lt;/p&gt;
&lt;p&gt;Please create a new question for your issue. See &lt;a href="https://devzone.nordicsemi.com/support/add"&gt;this link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable advertising timeout in BLE peripheral in SDK 12.1?</title><link>https://devzone.nordicsemi.com/thread/136540?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 12:00:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72701f95-88ed-4cd2-bbc1-7ee348f18012</guid><dc:creator>suvarna_kadam</dc:creator><description>&lt;p&gt;HI Sigurd&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using sdk 11 and softdevice S130, I did the above mentioned setting, but device failed to advertise.&lt;/p&gt;
&lt;p&gt;I am developing device which should advertise infinite time. Please help me with this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable advertising timeout in BLE peripheral in SDK 12.1?</title><link>https://devzone.nordicsemi.com/thread/72818?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 15:53:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01703c99-3912-4e6a-93c5-388575f8d284</guid><dc:creator>eeboarder</dc:creator><description>&lt;p&gt;Well, that was easy. Thanks again, Sigurd!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable advertising timeout in BLE peripheral in SDK 12.1?</title><link>https://devzone.nordicsemi.com/thread/72817?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2017 08:18:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:011d5f46-0613-4ecc-91a6-4f18ff22d3d6</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The ble_app_uart example uses something called limited discoverable mode(&lt;code&gt;BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE&lt;/code&gt;) , with this mode it is not allowed to advertise longer than a specified limited timeout period. But if you don&amp;#39;t want the advertising to stop, you can switch to general discoverable mode(&lt;code&gt;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE&lt;/code&gt;), and set the timeout to 0 to do unlimited advertising:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;advdata.flags                 = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
options.ble_adv_fast_timeout  = 0; // APP_ADV_TIMEOUT_IN_SECONDS
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>