<?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 No Memory for operation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110316/sd_ble_gap_adv_set_configure-no-memory-for-operation</link><description>Hi all, 
 Im working with CODED PHY (Long Range). There was no settings for primary and secondary channel so I added it like below. The previous solution worked with BLE_GAP_PHY_AUTO it means BLE_GAP_PHY_1MBPS as default. 
 I added the piece of configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Apr 2024 09:20:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110316/sd_ble_gap_adv_set_configure-no-memory-for-operation" /><item><title>RE: sd_ble_gap_adv_set_configure No Memory for operation</title><link>https://devzone.nordicsemi.com/thread/479924?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 09:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0603b408-3568-44fa-a7f6-d02fbf96333b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="BartoszT"]Working with the debugger causes an out of memory error. I do not know why. SofdDevice functions run only once.[/quote]
&lt;p&gt;The SoftDevice is timing critical, and it will assert if you step in the code or continue from a break-point. So if debugging with a SoftDevice, you need to reset instead of continuing after a breakpoint.&lt;/p&gt;
[quote user="BartoszT"] Currently I have a problem with error code 0x07 NRF_ERROR_INVALID_PARAM but despite this error the BLE device works according to the parameters.[/quote]
&lt;p&gt;Which function returns&amp;nbsp;NRF_ERROR_INVALID_PARAM and which parameters do you provide to it (including the content of any structs passed)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_adv_set_configure No Memory for operation</title><link>https://devzone.nordicsemi.com/thread/479916?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 09:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cdac0ae-df4a-4f06-9b87-62c07781802e</guid><dc:creator>BartoszT</dc:creator><description>&lt;p&gt;&lt;span&gt;I added messages via the serial port. This way I don&amp;#39;t have to run the code in debug mode. I got my answer. Working with the debugger causes an out of memory error. I do not know why. SofdDevice functions run only once. Currently I have a problem with error code 0x07 NRF_ERROR_INVALID_PARAM but despite this error the BLE device works according to the parameters.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_adv_set_configure No Memory for operation</title><link>https://devzone.nordicsemi.com/thread/479915?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 09:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47015014-e09c-4b66-a89e-6e0428943bef</guid><dc:creator>BartoszT</dc:creator><description>&lt;p&gt;I added messages via the serial port. This way I don&amp;#39;t have to run the code in debug mode. I got my answer. Working with the debugger causes an out of memory error. I do not know why. SofdDevice functions run only once. Currently I have a problem with error code 0x07 NRF_ERROR_INVALID_PARAM but despite this error the BLE device works according to the parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gap_adv_set_configure No Memory for operation</title><link>https://devzone.nordicsemi.com/thread/479414?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2024 12:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22761936-6aea-4071-bf31-d50f121b5ab1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you allready have an existing advertising set? While the API gives the impression multiple sets are supported, that is not the case. So if you try to configure a new set, you will get&amp;nbsp;NRF_ERROR_NO_MEM returned from&amp;nbsp;sd_ble_gap_adv_set_configure. This is a limitation in the SoftDevice, and allocating more memory to the SoftDevice will not help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>