<?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>Reset due to ADV</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83089/reset-due-to-adv</link><description>Hi all 
 I&amp;#39;m developing a BLE application using nRF52832 : SDK 17.xx 
 I need to embed a passkey, and the only app example relevant in this case is ble_app_gls. 
 using this example causes the sw to enter the function on_adv_evt (due to advertising_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Dec 2021 06:17:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83089/reset-due-to-adv" /><item><title>RE: Reset due to ADV</title><link>https://devzone.nordicsemi.com/thread/345169?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 06:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63a777ea-e07d-43ec-b3da-8e7e5f82d6a2</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;IT WORKS!!!&lt;/p&gt;
&lt;p&gt;I cant thank you enough.&lt;/p&gt;
&lt;p&gt;thanks again&lt;/p&gt;
&lt;p&gt;YONA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset due to ADV</title><link>https://devzone.nordicsemi.com/thread/345132?ContentTypeID=1</link><pubDate>Mon, 27 Dec 2021 15:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2e288d8-cc11-454e-b95a-8d9a9dfc4c79</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Yona,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In&amp;nbsp;advertising_init() in the gls example, if you configure this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; init.advdata.flags&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;init.config.ble_adv_fast_timeout&amp;nbsp; = 0;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Instead of the original:&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp; init.advdata.flags&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; init.config.ble_adv_fast_timeout&amp;nbsp; = APP_ADV_DURATION;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It will advertise forever.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>