<?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>Characteristic limit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7875/characteristic-limit</link><description>I&amp;#39;ve got 4 services with 15 characteristics between them. Trying to add any more than that results in sd_ble_gatts_characteristic_add() returning NRF_ERROR_NO_MEM . 
 All characteristics longer than 4 bytes are BLE_GATTS_VLOC_USER , all user descriptions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Aug 2015 14:53:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7875/characteristic-limit" /><item><title>RE: Characteristic limit</title><link>https://devzone.nordicsemi.com/thread/28091?ContentTypeID=1</link><pubDate>Thu, 13 Aug 2015 14:53:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feff071a-6108-4e63-87a7-e3f70a3aeb62</guid><dc:creator>Pertti Kasanen</dc:creator><description>&lt;p&gt;I run into the same problem. Cannot increase the attribute table enough to add a 10th attribute. Neither with _STACK nor with _USER. Will have to do similar consolidation as RK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Characteristic limit</title><link>https://devzone.nordicsemi.com/thread/28090?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 12:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc40c90e-c384-4576-b7b9-94d0a9098690</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;andrey, could you please update this thread with latest info, if this answer helped you then please click the ✓ to the left of the answer so that others can come and look here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Characteristic limit</title><link>https://devzone.nordicsemi.com/thread/28089?ContentTypeID=1</link><pubDate>Sat, 27 Jun 2015 00:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93ad9fee-4cdc-40fd-bdc1-6a1def575823</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;My assumption, having read about this problem a few times, is that there is still some fixed-size table somewhere unaffected by the free memory you give to the attribute table. eg perhaps you can store the attribute data there and increase the size for that, however the internal data for the characteristics themselves can&amp;#39;t use the extra room.&lt;/p&gt;
&lt;p&gt;Why don&amp;#39;t you file a support case on  this and see if you can get some help from engineering.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Characteristic limit</title><link>https://devzone.nordicsemi.com/thread/28088?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2015 18:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf57f50c-ea66-4c90-bc6b-5dc90e1fa9a8</guid><dc:creator>andrey</dc:creator><description>&lt;p&gt;I understand that &lt;code&gt;BLE_GATTS_VLOC_USER&lt;/code&gt; changes only the location of the value and everything else stays in the table. What I don&amp;#39;t understand is why increasing it&amp;#39;s size doesn&amp;#39;t help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Characteristic limit</title><link>https://devzone.nordicsemi.com/thread/28087?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2015 18:25:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7948f292-770f-4bcd-b25c-54c2b2ec2422</guid><dc:creator>pastisprologue</dc:creator><description>&lt;p&gt;Hi Andrey,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve run into a similar issue.  I think the issue is that while you do employ BLE_GATTS_VLOC_USER, that only moves the location of the  actual value itself to the application memory.  Everything else about that characteristic, it&amp;#39;s UUID, handle, properties, characteristic properties, descriptors, etc., still live in the ATT table (which is in the memory region of the softdevice).&lt;/p&gt;
&lt;p&gt;I resolved it on my end by consolidating characteristics common to all of my services into their own service with only that single, common characteristic. Of course, this was my workaround, and highly specific.  You will have to be more creative in your own resolution.&lt;/p&gt;
&lt;p&gt;Hope this helps,
past&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>