<?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>Error CODE beacon for sd_ble_gap_adv_set_configure comes as 0x3004 (12292 in dec)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64343/error-code-beacon-for-sd_ble_gap_adv_set_configure-comes-as-0x3004-12292-in-dec</link><description>Can Anyone tell me the reason for the error code. I am using nRF52 DK taking the sample beacon example as my code to integrate my data so that it advertises every x seconds. The added new function is My_beacon_data(). Please find the code attached.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jul 2020 11:39:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64343/error-code-beacon-for-sd_ble_gap_adv_set_configure-comes-as-0x3004-12292-in-dec" /><item><title>RE: Error CODE beacon for sd_ble_gap_adv_set_configure comes as 0x3004 (12292 in dec)</title><link>https://devzone.nordicsemi.com/thread/262556?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2020 11:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02d7b224-e84b-4bfa-8b49-01a542590532</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;0x3004 corresponds to &lt;a class="el" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group__ble__err.html#ga3f3e21cbd6cf24e72e5bf641098379aa"&gt;BLE_ERROR_INVALID_ADV_HANDLE&lt;/a&gt;, and it&amp;#39;s returned because you are not passing a valid p_adv_handle. Please refer to the API documentation for more details: &lt;span class="item"&gt;&lt;a class="" title="sd_ble_gap_adv_set_configure" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html?cp=4_7_3_1_2_1_3_3#ga9969047f4e7485c3f856c841978cc31a"&gt;sd_ble_gap_adv_set_configure&lt;/a&gt;&lt;/span&gt;. You may find the code I posted here helpful: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43464/modify-ble-advertising-tutorial-to-change-advertising-data-on-button-press"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/43464/modify-ble-advertising-tutorial-to-change-advertising-data-on-button-press&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>