<?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>ANCS init issue with SDK11 s132 nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17630/ancs-init-issue-with-sdk11-s132-nrf52</link><description>Hello everybody, 
 I have a problem when I try initialize the ANCS service. The method ble_ancs_c_init(); from ble_ancs_c.h return the error NRF_ERROR_NO_MEM. 
 My configuration of the ble stack is : 
 sdEnableParams.gatts_enable_params.attr_tab_size</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Nov 2016 11:05:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17630/ancs-init-issue-with-sdk11-s132-nrf52" /><item><title>RE: ANCS init issue with SDK11 s132 nRF52</title><link>https://devzone.nordicsemi.com/thread/67796?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 11:05:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0570d41-1d3c-44c2-9a3f-2885ca549560</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;There is a description about softdevice ram usage in the softdevice migration document called SoftDevice RAM usage that you can look at for the details. Note that if you are adding the ANCS service to an existing project you might have to update the SOFTDEVICE_GATTS_ATTR_TAB_SIZE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANCS init issue with SDK11 s132 nRF52</title><link>https://devzone.nordicsemi.com/thread/67797?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 09:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ae1c9c2-94b9-4705-be3e-03ca28bbe183</guid><dc:creator>Cyril Praz</dc:creator><description>&lt;p&gt;I have solved  the problem by reducing the size of the heap and call stack defined inside arm_startup_nrf52.s&lt;/p&gt;
&lt;p&gt;and by increasing the number of vendor uuid:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_enable_params_t sdEnableParams;  

sdEnableParams.common_enable_params.vs_uuid_count       = 10;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The .map file generated during the compilation was very useful to solved the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>