<?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>S112 returns 0x04 error code when use sd_ble_gatts_service_add to add service UUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29266/s112-returns-0x04-error-code-when-use-sd_ble_gatts_service_add-to-add-service-uuid</link><description>Hi, 
 I&amp;#39;m using SDKv14.1 on nRF52810. I doing the DFU according to the ble_app_buttonless_dfu example. When I use sd_ble_gatts_service_add to add service UUID in the ble_dfu_buttonless_init function, it returns 0x04 error code. I have adjust RAM size</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jan 2018 09:50:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29266/s112-returns-0x04-error-code-when-use-sd_ble_gatts_service_add-to-add-service-uuid" /><item><title>RE: S112 returns 0x04 error code when use sd_ble_gatts_service_add to add service UUID</title><link>https://devzone.nordicsemi.com/thread/116405?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2018 09:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42b91d5a-b33f-49b9-b38e-f35836570a71</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Not really, see &lt;a href="https://devzone.nordicsemi.com/question/96821/s132-attribute-table-size/"&gt;this&lt;/a&gt; for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S112 returns 0x04 error code when use sd_ble_gatts_service_add to add service UUID</title><link>https://devzone.nordicsemi.com/thread/116406?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2018 02:33:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcd3c12e-eb67-4c89-a89b-89e0a428d28c</guid><dc:creator>Alice</dc:creator><description>&lt;p&gt;Hi Petter Myhre,
I increased the attribute table size from 1408 to 1600 and it&amp;#39;s OK now. Thanks so much.
I tried 2000 first and then decrease it to 1600, is there any way to caculate which value is suitable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S112 returns 0x04 error code when use sd_ble_gatts_service_add to add service UUID</title><link>https://devzone.nordicsemi.com/thread/116404?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 16:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28c623c9-a340-427c-8fd0-c1b018e2ad30</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Have you tried to increase the attribute table size?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>