<?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>hids service returns ERROR 4 [NRF_ERROR_NO_MEM]</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38316/hids-service-returns-error-4-nrf_error_no_mem</link><description>I use SDK15 and example works fine. Now I transfer hids code into my project and compile wo errors, but after startred project- fall with error: 
 
 The line 1771 is call init of new service (hids) 
 before I added success 3 services. 
 I tryed increase</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Sep 2018 11:26:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38316/hids-service-returns-error-4-nrf_error_no_mem" /><item><title>RE: hids service returns ERROR 4 [NRF_ERROR_NO_MEM]</title><link>https://devzone.nordicsemi.com/thread/147996?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 11:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e9d0c59-b126-4575-a24c-0f8494df3690</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;I have seen this)))&lt;/p&gt;
&lt;p&gt;Really. Ok. thanks for help. It is work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hids service returns ERROR 4 [NRF_ERROR_NO_MEM]</title><link>https://devzone.nordicsemi.com/thread/147995?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 11:23:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff132c3d-3a70-4515-bf69-083abdf90d66</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please have a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30024/nrf_sdh_ble_gatts_attr_tab_size/119305#119305"&gt;this thread&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hids service returns ERROR 4 [NRF_ERROR_NO_MEM]</title><link>https://devzone.nordicsemi.com/thread/147986?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 10:49:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1305c4c6-1508-4be9-9972-ea1ba592f104</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;I increased&lt;/p&gt;
&lt;p&gt;//#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408&lt;br /&gt;#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 2000&lt;/p&gt;
&lt;p&gt;to 2000. And now works without fall. It good. But wich size should set for correct work?&lt;/p&gt;
&lt;p&gt;2000- is it normal or this is big size?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hids service returns ERROR 4 [NRF_ERROR_NO_MEM]</title><link>https://devzone.nordicsemi.com/thread/147937?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 07:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c7f420d-6390-43a0-a450-fa8cbc1462d0</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I tryed increased&amp;nbsp;&lt;span&gt;NRF_SDH_BLE_VS_UUID_COUNT&amp;nbsp;by 2 and 3 without success.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have next services:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; nus_init();&lt;br /&gt; sls_init();&lt;br /&gt; tis_init();&lt;br /&gt; hids_init();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;First 3 works fine. When added&amp;nbsp;hids_init(); , project fall with&amp;nbsp;ERROR 4. Also possible leave only&amp;nbsp;hids_init(); and delete&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nus_init();&lt;br /&gt;sls_init();&lt;br /&gt;tis_init();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;also works fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I understand that need increase memory but I can&amp;#39;t understand how to make it correct.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hids service returns ERROR 4 [NRF_ERROR_NO_MEM]</title><link>https://devzone.nordicsemi.com/thread/147851?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 16:53:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5593f339-d2bb-4523-90f1-b67b1861be42</guid><dc:creator>H&amp;#229;vard</dc:creator><description>&lt;p&gt;How big are these services? Many characteristics?&lt;/p&gt;
&lt;p&gt;Perhaps you need to increase the size of you attribute table?&amp;nbsp;&lt;span&gt;NRF_SDH_BLE_VS_UUID_COUNT only counts for Vendor Specific UUIDs. Do you use those? Or only Bluetooth SIG defined UUIDs?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;typedef struct
{
  uint32_t attr_tab_size; /**&amp;lt; Attribute table size. Default is @ref BLE_GATTS_ATTR_TAB_SIZE_DEFAULT, minimum is @ref BLE_GATTS_ATTR_TAB_SIZE_MIN. */
} ble_gatts_cfg_attr_tab_size_t;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>