<?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>Getting memory error when using s130 on sdk 11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30441/getting-memory-error-when-using-s130-on-sdk-11</link><description>I am trying to implement 128 bit uuid service and charachteristic and I am getting error 4(memory error) from 
 line 10: sd_ble_uuid_vs_add(&amp;amp;m_midi_service, &amp;amp;midi_init); 
 
 
 
 this is the midi_service code that i am using: 
 
 
 this is the header code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Feb 2018 14:43:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30441/getting-memory-error-when-using-s130-on-sdk-11" /><item><title>RE: Getting memory error when using s130 on sdk 11</title><link>https://devzone.nordicsemi.com/thread/120726?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 14:43:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6abf7986-d712-4e24-975d-99dacab1746c</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;sd_ble_uuid_vs_add will return this error if there are no more free slots for VS UUIDs.&lt;/p&gt;
&lt;p&gt;In your file softdevice_handler.c increase p_ble_enable_params-&amp;gt;common_enable_params.vs_uuid_count to 2, that should solve the issue.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>