<?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>I have a issue when try going to step 5&amp;amp;6 in series&amp;quot;Bluetooth low energy Service&amp;quot;
00&amp;gt; PC at: 0x000312A9</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62038/i-have-a-issue-when-try-going-to-step-5-6-in-series-bluetooth-low-energy-service-00-pc-at-0x000312a9</link><description>=&amp;gt; ERROR 7 [NRF_ERROR_INVALID_PARAM] at E:\Nordic\nRF5_SDK_15.0.0_a53641a\examples\nrf51-ble-tutorial-service-master\nrf5-ble-tutorial-service\main.c:691</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Jun 2020 12:47:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62038/i-have-a-issue-when-try-going-to-step-5-6-in-series-bluetooth-low-energy-service-00-pc-at-0x000312a9" /><item><title>RE: I have a issue when try going to step 5&amp;6 in series"Bluetooth low energy Service"
00&gt; PC at: 0x000312A9</title><link>https://devzone.nordicsemi.com/thread/253008?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 12:47:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afcfbe49-50c5-4472-9fe3-88115535e428</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Just to check, you are using &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial" rel="noopener noreferrer" target="_blank"&gt;this guide&lt;/a&gt;, right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This snippet looks fine, so I believe the issue is somewhere else. What did you add before this issue occurred? Did you change the ADV_INTERVAL/DURATION? Is&amp;nbsp;&lt;span&gt;BLE_UUID_OUR_SERVICE correct?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is on_adv_evt declared?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please check out how the advertising is set up in the example: SDK15.0.0\examples\ble_peripheral\ble_app_uart.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a issue when try going to step 5&amp;6 in series"Bluetooth low energy Service"
00&gt; PC at: 0x000312A9</title><link>https://devzone.nordicsemi.com/thread/252797?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2020 14:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0665a1f-8208-4f2d-8e8d-4645da4f188e</guid><dc:creator>namnn07</dc:creator><description>&lt;p&gt;this is my code and your guess is right,bro&lt;/p&gt;
&lt;p&gt;/**@brief Function for initializing the Advertising functionality.&lt;br /&gt; */&lt;br /&gt;static uint16_t ble_uuid_t m_adv_uuids[] = &lt;br /&gt; {&lt;br /&gt; {&lt;br /&gt; BLE_UUID_OUR_SERVICE,&lt;br /&gt; BLE_UUID_TYPE_VENDOR_BEGIN&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; };&lt;br /&gt;static void advertising_init(void)&lt;br /&gt;{&lt;br /&gt; SEGGER_RTT_WriteString(0, &amp;quot;done.\n&amp;quot;);&lt;br /&gt; ret_code_t err_code;&lt;br /&gt; ble_advertising_init_t init;&lt;/p&gt;
&lt;p&gt;memset(&amp;amp;init, 0, sizeof(init));&lt;/p&gt;
&lt;p&gt;init.advdata.name_type = BLE_ADVDATA_FULL_NAME;&lt;br /&gt; init.advdata.flags = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;&lt;br /&gt; &lt;br /&gt;// STEP 6: Declare and instantiate the scan response&lt;br /&gt; //ble_advdata_t srdata;&lt;br /&gt; // memset(&amp;amp;srdata, 0, sizeof(srdata));&lt;br /&gt; init.srdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);&lt;br /&gt; init.srdata.uuids_complete.p_uuids = m_adv_uuids;&lt;/p&gt;
&lt;p&gt;init.config.ble_adv_fast_enabled = true;&lt;br /&gt; init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;&lt;br /&gt; init.config.ble_adv_fast_timeout = APP_ADV_DURATION;&lt;/p&gt;
&lt;p&gt;init.evt_handler = on_adv_evt;&lt;/p&gt;
&lt;p&gt;err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;/p&gt;
&lt;p&gt;ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);&lt;br /&gt; SEGGER_RTT_WriteString(0, &amp;quot;done1.\n&amp;quot;);&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a issue when try going to step 5&amp;6 in series"Bluetooth low energy Service"
00&gt; PC at: 0x000312A9</title><link>https://devzone.nordicsemi.com/thread/252751?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2020 12:57:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36f00fc3-c569-4a06-a5af-57f513f85393</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t know what your main.c line 691 says, but I can guess. Is it:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
&lt;p&gt;Either way, perhaps you can copy the entire function that includes your line 691? Is it advertising_init()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>