<?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>How can i increase the GATTS attribute Table Size?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16859/how-can-i-increase-the-gatts-attribute-table-size</link><description>During the initialisation adding gatt attributes with the function &amp;quot;sd_ble_gatts_characteristic_add&amp;quot; i get the error NRF_ERROR_NO_MEM. So it seems the default table size is to small.
How can i increase it?
I tried changing BLE_GATTS_ATTR_TAB_SIZE_DEFAULT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Oct 2020 14:35:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16859/how-can-i-increase-the-gatts-attribute-table-size" /><item><title>RE: How can i increase the GATTS attribute Table Size?</title><link>https://devzone.nordicsemi.com/thread/277848?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 14:35:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddf21c91-4323-4fb1-915b-057bf72af4ea</guid><dc:creator>Sandeep singh</dc:creator><description>&lt;p&gt;Thanks bjorn, this was very helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i increase the GATTS attribute Table Size?</title><link>https://devzone.nordicsemi.com/thread/222477?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 01:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72cdb9c1-a08f-4cb4-a7df-15014a5df641</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Here is the link to the&amp;nbsp;&lt;a title="Attribute table size" href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/mem_usage/attr_table_size.html?cp=4_5_2_0_13_1"&gt;Attribute table size&lt;/a&gt;&amp;nbsp;section of the S132 SoftDevice. You need to increase the&amp;nbsp;NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE in sdk_config.h and then increase the RAM start address of the application by the same amount. Which IDE are you using, SES or KEIL?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i increase the GATTS attribute Table Size?</title><link>https://devzone.nordicsemi.com/thread/222461?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 21:09:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e8e01f0-c608-41bb-badb-f7ff2e4b58a1</guid><dc:creator>Kenan</dc:creator><description>&lt;p&gt;The link in your answer is not working. Can you please provide a working link?&lt;br /&gt;&lt;span&gt;&amp;nbsp;I&amp;#39;m using SDK v15.3.0 which has s132 6.1.1 to program an nRF521832.&lt;/span&gt;&lt;br /&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i increase the GATTS attribute Table Size?</title><link>https://devzone.nordicsemi.com/thread/64549?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2016 12:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:698dd314-f609-483e-ad5e-5ac5ce526872</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, you have increase the IRAM1 start address corresponding to the increased size of the attribute table. This is described in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/mem_usage/attr_table_size.html?cp=2_3_0_0_13_1"&gt;this&lt;/a&gt; section in the S132 SoftDevice Specification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i increase the GATTS attribute Table Size?</title><link>https://devzone.nordicsemi.com/thread/64548?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2016 07:05:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40110b87-bef8-44fa-8bb8-84aee740940c</guid><dc:creator>Ronny Vrijelinck</dc:creator><description>&lt;p&gt;I was able to solve the problem by&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;changing the BLE_GATTS_ATTR_TAB_SIZE_DEFAULT to 0x0700&lt;/li&gt;
&lt;li&gt;Changing the IRAM1 start to 0x20003000 and size to 0xD000 in the Keil Target Options
This probably result to extra available Ram for the Softdevice which was needed for the larger Gatts attribute Table&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>