<?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>BLE device advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58053/ble-device-advertising</link><description>Please find attached code of BLE_APP_UART code main.c file. I am using Nordic nRF51 DK board (nRF51824) for my project development. 
 We have created our own android apk. And everything works fine. I am using segger embedded studio. I have ported the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Feb 2020 03:20:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58053/ble-device-advertising" /><item><title>RE: BLE device advertising</title><link>https://devzone.nordicsemi.com/thread/235604?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2020 03:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ec276ec-c7cb-4956-8364-50503400207d</guid><dc:creator>Archana Fugare</dc:creator><description>&lt;p&gt;Okay, thanks.&lt;/p&gt;
&lt;p&gt;I will do changes and update you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE device advertising</title><link>https://devzone.nordicsemi.com/thread/235512?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 14:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0049756b-3b75-4230-88be-446aa9e64fb3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your code will only advertise for 180 seconds. In order to do&amp;nbsp;unlimited advertising,&amp;nbsp;then in advertising_init() change:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;advdata.flags              = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;advdata.flags              = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and change&amp;nbsp;APP_ADV_TIMEOUT_IN_SECONDS from 180 to 0 (&lt;span&gt;BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED&lt;/span&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>