<?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>Multiple custom service issue in SDK 12.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21057/multiple-custom-service-issue-in-sdk-12-2</link><description>I am running NUS and a custom service. 
 I have updated vs_uuid_count = 2 in softdevice_handler.c 
 Following other posts on the forum, I have stepped through the code using Eclipse debugger. 
 The error code returned by sd_ble_enable() is equal to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Apr 2017 09:21:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21057/multiple-custom-service-issue-in-sdk-12-2" /><item><title>RE: Multiple custom service issue in SDK 12.2</title><link>https://devzone.nordicsemi.com/thread/82272?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 09:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55033ada-2f88-4bc1-9a82-46f3c9b8d285</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;When &lt;code&gt;sd_ble_enable()&lt;/code&gt; is called in the &lt;code&gt;softdevice_enable()&lt;/code&gt; function, the correct RAM settings should be printed. From softdevice_enable() :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;app_ram_base = ram_start;
NRF_LOG_DEBUG(&amp;quot;sd_ble_enable: RAM start at 0x%x\r\n&amp;quot;,
                app_ram_base);
err_code = sd_ble_enable(p_ble_enable_params, &amp;amp;app_ram_base);

if (app_ram_base != ram_start)
{
    NRF_LOG_WARNING(&amp;quot;sd_ble_enable: RAM start should be adjusted to 0x%x\r\n&amp;quot;,
            app_ram_base);
    NRF_LOG_WARNING(&amp;quot;RAM size should be adjusted to 0x%x \r\n&amp;quot;,
            ram_end_address_get() - app_ram_base);
}
else if (err_code != NRF_SUCCESS)
{
    NRF_LOG_ERROR(&amp;quot;sd_ble_enable: error 0x%x\r\n&amp;quot;, err_code);
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>