<?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>sd_ble_gap_adv_set_configure() error 4 NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61918/sd_ble_gap_adv_set_configure-error-4-nrf_error_no_mem</link><description>Hello, I am using nRF52840, SDK 16, SoftDevice s140 with SES. I want to configure my device first in connectable mode and then in non-connectable beacon mode. sys_advertising_init() function configures connectable mode and sys_advertising_start() starts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jun 2020 09:21:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61918/sd_ble_gap_adv_set_configure-error-4-nrf_error_no_mem" /><item><title>RE: sd_ble_gap_adv_set_configure() error 4 NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/254195?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 09:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11bf2805-33e4-4ae3-9966-7631cb4e3a65</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;ok, I am changing case status to waiting then. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_adv_set_configure() error 4 NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/254193?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 09:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea4e0a8a-c450-44f7-a650-b72691969924</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;Thanks for replying but as I am working on an agile project, requirement changed and I had to drop this but I will look into in future.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_adv_set_configure() error 4 NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/254189?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 09:07:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97bd66bc-56df-4ff7-a126-bdc80d5123bd</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;You need to update the existing advertising handle. If you try to set a new one you will get the NRF_ERROR_NO_MEM error. Can you debug your project and check which value you use for the advertisement handle?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_adv_set_configure() error 4 NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/253204?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 08:49:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9cac02f-7062-4c42-a205-5d30a088c025</guid><dc:creator>Vishwas Jain</dc:creator><description>&lt;p&gt;Pardon but I didn&amp;#39;t get you. Can you please ellaborate a little?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_adv_set_configure() error 4 NRF_ERROR_NO_MEM</title><link>https://devzone.nordicsemi.com/thread/253028?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 13:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26ca762f-02d0-4bbc-b236-55830ff12f9a</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So you are getting an:&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;&lt;a title="No Memory for operation." href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.0.1/group__nrf__error.html#ga7ef4d466b79b31c6325f8b7af5d4f75f"&gt;NRF_ERROR_NO_MEM&lt;/a&gt;&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;Not enough memory to configure a new advertising handle. Update an existing advertising handle instead.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Seems like you might be provided BLE_GAP_ADV_SET_HANDLE_NOT_SET when trying to reconfigure the exising advertisement handle which documentation states: Provide a pointer to a handle containing &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.0.1/group___b_l_e___g_a_p___d_e_f_i_n_e_s.html#ga0eb9ee787b529e0ba613cba8c7b1a3c9"&gt;BLE_GAP_ADV_SET_HANDLE_NOT_SET&lt;/a&gt; to configure a new advertising set. But you don&amp;#39;t want to configure a new one, so you should make sure you have the correct handle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>