<?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 advertising does not consistently start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41725/ble-advertising-does-not-consistently-start</link><description>Hi, I have been running into a problem where I am getting inconsistently failure to start advertising. 
 Calling: 
 err_code = ble_advertising_start(&amp;amp;m_advertising, BLE_ADV_MODE_FAST ); 
 returns NRF_SUCCESS, but the advertising process does not start</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Jan 2019 02:12:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41725/ble-advertising-does-not-consistently-start" /><item><title>RE: BLE advertising does not consistently start</title><link>https://devzone.nordicsemi.com/thread/163617?ContentTypeID=1</link><pubDate>Thu, 03 Jan 2019 02:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4288b02-6692-4775-98ed-17117677dda2</guid><dc:creator>scao</dc:creator><description>&lt;p&gt;Figured out the problem.&lt;br /&gt;&lt;br /&gt;When flash is in use when turning on advertising,&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;p_advertising-&amp;gt;&lt;span&gt;advertising_start_pending&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;is set true, and NRF_SUCCESS returned.&lt;br /&gt;&lt;br /&gt;But&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ble_advertising_on_sys_evt(&lt;span&gt;uint32_t &lt;/span&gt;evt_id, &lt;span&gt;void &lt;/span&gt;* p_context)&lt;/pre&gt;
&lt;p&gt;is needed to actually process this flag and turn on BLE advertising later. Problem was it wasnt added as a softdevice observer, so the flag was never processed.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE advertising does not consistently start</title><link>https://devzone.nordicsemi.com/thread/162795?ContentTypeID=1</link><pubDate>Fri, 21 Dec 2018 09:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f634e57-ec49-4d8a-aa56-f79c11939063</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Are you using an example from the sdk? What device are you using? Is it a Nordic dk or a custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>