<?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_start() failed with errCode 0x8</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90930/ble_advertising_start-failed-with-errcode-0x8</link><description>I would like to start advertising after BLE connection disconnected. But ble_advertising_start() return errCode 0x8. 
 static void ble_evt_handler(ble_evt_t const* pBleEvt, void* pContext) { switch (pBleEvt-&amp;gt;header.evt_id) { case BLE_GAP_EVT_DISCONNECTED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Aug 2022 11:49:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90930/ble_advertising_start-failed-with-errcode-0x8" /><item><title>RE: ble_advertising_start() failed with errCode 0x8</title><link>https://devzone.nordicsemi.com/thread/381346?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 11:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36da81ba-8e0c-4247-8557-be1ed2b81990</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_multiperipheral.html?cp=8_1_4_2_2_26"&gt;multi peripheral&lt;/a&gt;&amp;nbsp;example shows you how to continue advertising after a connection has been created:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1660304890570v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1660304855319v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_advertising_start() failed with errCode 0x8</title><link>https://devzone.nordicsemi.com/thread/381336?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 11:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2120a15e-a3c8-493a-8161-60e5a3164e2e</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Do you have suggested example for testing advertising? I am add my modification to that example and then share source code to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_advertising_start() failed with errCode 0x8</title><link>https://devzone.nordicsemi.com/thread/381335?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 11:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d5a73f7-2b92-41e3-87bc-18dd82f48594</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Yes, advertising will stop after a connection has been created.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_advertising_start() failed with errCode 0x8</title><link>https://devzone.nordicsemi.com/thread/381316?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 09:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e27aaeb-408e-4311-9e5c-f687efca85c2</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Does advertising stop after connecting created?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_advertising_start() failed with errCode 0x8</title><link>https://devzone.nordicsemi.com/thread/381301?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 08:48:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6404be44-1dc4-41b2-8331-fab40aa476b5</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Error code 8 from ble_advertising_start() is NRF_ERROR_INVALID_STATE and is return if the module is not initialized.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which is strange, since you&amp;#39;re using the module when you advertised in the first place.&lt;/p&gt;
&lt;p&gt;Can you share your whole project?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_advertising_start() failed with errCode 0x8</title><link>https://devzone.nordicsemi.com/thread/381262?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 05:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d356e7fb-292a-40a8-bc12-c9a2b37de575</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1184.advertising.c"&gt;devzone.nordicsemi.com/.../1184.advertising.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>