<?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>when i use the ble_adverting_start(BLE_ADV_MODE_FAST) it  return  error  code : 8</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24668/when-i-use-the-ble_adverting_start-ble_adv_mode_fast-it-return-error-code-8</link><description>when i use the ble_adverting_start(BLE_ADV_MODE_FAST) it return error code : 8 it is from then APP_ERROR_CHECK(err_code) it can system abnormal. the error is from sd_ble_gap_adv_start(), i have use the ble_advertising_init() when it is return error code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Aug 2017 08:41:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24668/when-i-use-the-ble_adverting_start-ble_adv_mode_fast-it-return-error-code-8" /><item><title>RE: when i use the ble_adverting_start(BLE_ADV_MODE_FAST) it  return  error  code : 8</title><link>https://devzone.nordicsemi.com/thread/97093?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2017 08:41:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6b0ed3d-6caf-4c9d-aefc-b2fbe64f65cf</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;@happykelvin: Can edit your question and include your code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: when i use the ble_adverting_start(BLE_ADV_MODE_FAST) it  return  error  code : 8</title><link>https://devzone.nordicsemi.com/thread/97094?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2017 12:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b27941e-0f25-4f7c-9234-7d6468fe5ed8</guid><dc:creator>Bryan H</dc:creator><description>&lt;p&gt;Error codes to be found in &lt;code&gt;components\softdevice\s132\headers\nrf_error.h&lt;/code&gt;, value 8 means &lt;code&gt;Invalid state, operation disallowed in this state&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Have you initialized the advertising module with advertising_init()?&lt;/p&gt;
&lt;p&gt;Also make sure services_init is called before advertising_init.&lt;/p&gt;
&lt;p&gt;Did you also make sure you stopped advertising before you change the mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>