<?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>Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39152/increase-number-of-characteristics</link><description>I am using the ble_blinky example (s132) and want to increase the number of characteristics. I get the error code 4. I think the storage capacity is not the reason why I can&amp;#39;t create more characteristics. In the a try I implemented some variables to see</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Oct 2018 06:01:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39152/increase-number-of-characteristics" /><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151945?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 06:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2badaf78-72e6-42bf-b012-d3bffc54674d</guid><dc:creator>Moe</dc:creator><description>&lt;p&gt;Hey Marjeris,&lt;/p&gt;
&lt;p&gt;It worked. I doubled the Value of the NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE.&lt;/p&gt;
&lt;p&gt;Thank you so much for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151860?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 14:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85697139-bd5d-49c5-97d4-be20bb513f2a</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Moe,&lt;/p&gt;
&lt;p&gt;Sorry, I forgot to mention you also need to increase NRF_SDH_BLE_GATTS_ATTB_TAB_SIZE if you have a large number of characteristic in your custom service.&lt;/p&gt;
&lt;p&gt;If you are expecting debug information from a particular module you also need to enable NRF_LOG and change the default log level to 4 for the specific module.&lt;/p&gt;
&lt;p&gt;Maybe you can upload your project here so I can take a look at the code inside if increasing the attribute table size does not work.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151818?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 11:48:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59954262-6ec3-4ab8-b177-87e2737840a4</guid><dc:creator>Moe</dc:creator><description>&lt;p&gt;Hey Marjeris,&lt;/p&gt;
&lt;p&gt;The first time it told me to change the Adress and Size to 0x200022B0 and 0xDD50 which I did. The NRF_LOG_DEFAULT_LEVEL change (to 4) didn&amp;#39;t printed any new information. Due to this I added in the creation of the characters a NRF_LOG_INFO to print the error code (thats the &amp;lt;info&amp;gt; app: XY ), that I don&amp;#39;t have to debug everything step by step and still can see if something changed.&amp;nbsp; &lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0118.Unbenannt.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151808?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 11:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0fa936e-d3eb-4453-a541-00f8487cf7b7</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you increase the RAM size?&lt;/p&gt;
&lt;p&gt;If you set the NRF_LOG flag to debug you will print the debug messages and that will make your code easier to debug. Just search in the sdk_config.h for NRF_LOG_DEFAULT_LEVEL and change the level flag from 3 (Info) to 4 (debug).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;o&amp;gt; NRF_LOG_DEFAULT_LEVEL  - Default Severity level
 
// &amp;lt;0=&amp;gt; Off 
// &amp;lt;1=&amp;gt; Error 
// &amp;lt;2=&amp;gt; Warning 
// &amp;lt;3=&amp;gt; Info 
// &amp;lt;4=&amp;gt; Debug 

#ifndef NRF_LOG_DEFAULT_LEVEL
#define NRF_LOG_DEFAULT_LEVEL 4
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151586?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 07:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f846ba9-8f64-4a59-8feb-640e25f87556</guid><dc:creator>Moe</dc:creator><description>&lt;p&gt;Hi Marjeris,&lt;/p&gt;
&lt;p&gt;This is what happens if I just upload the Code.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5807.Unbenannt.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The Picture below shows the Log if I I am in the Debugger&lt;/p&gt;
&lt;p&gt;&lt;img alt="The Log in the Debugger" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Unbenann1t.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;If I start the Debugger it stops at the NRF_BREAKPOINT_CMD. Before the Breakpoint the funktion &amp;quot;characteristic_add&amp;quot; returns the error code 4&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151579?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 07:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50f9662b-14ea-458e-ae27-ec60f787f3db</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Moe,&lt;/p&gt;
&lt;p&gt;Did you change the RAM size and that didn&amp;#39;t work either? Could you get me a printscreen of the debug terminal?&lt;/p&gt;
&lt;p&gt;-Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151564?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 05:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93ed9776-8e7b-4e97-87fb-8549e6e1ec7f</guid><dc:creator>Moe</dc:creator><description>&lt;p&gt;Hi SteveHx,&lt;/p&gt;
&lt;p&gt;thank you for the response. Unfortunately it didn&amp;#39;t worked in my case. Was the UUID in your case the same or did it changed form the different characteristics?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151562?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 05:50:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b23b8fba-ff7d-4f9f-bf47-0a48a2abfd8d</guid><dc:creator>Moe</dc:creator><description>&lt;p&gt;Hey msromero,&lt;/p&gt;
&lt;p&gt;thank you for the fast response. With the &amp;quot;NRF_LOG_ENABLED&amp;quot; it told me to change the RAM size. The Log Output is: &amp;quot; &amp;lt;error&amp;gt; app: Fatal error&amp;quot; and the error code is still 4. Increasing the NRF_SDH_BLE_VS_UUID_COUNT didn&amp;#39;t worked either. The error Codes are still the same and I can&amp;#39;t get more Characteristics.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151483?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 13:21:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b6e4c2d-e857-416c-8332-30bd85d53248</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Moe,&lt;/p&gt;
&lt;p&gt;As Steve suggested, you may need to increase NRF_SDH_BLE_VS_UUID_COUNT. In addition to this you may also need to increase the RAM size allocated for the Softdevice. If you enable the NRF_LOG module you will get a message if this is necessary. To enabled NRF_LOG go to sdk_config.h and search for &amp;quot;NRF_LOG_ENABLED&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; NRF_LOG_ENABLED - nrf_log - Logger
//==========================================================
#ifndef NRF_LOG_ENABLED
#define NRF_LOG_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increase number of Characteristics</title><link>https://devzone.nordicsemi.com/thread/151482?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 19:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faef7a85-aa9b-46dc-994e-aae81bdce259</guid><dc:creator>SteveHx</dc:creator><description>&lt;p&gt;I ran into this several months ago. When I ran into it again just now, i couldn&amp;#39;t remember the answer, but managed to dig back thru my emails and found this:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/members/kevin_5f00_l"&gt;Kevin_L &lt;/a&gt; &lt;/span&gt; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34436/nrf_error_no_mem-during-call-to-sd_ble_uuid_vs_add/132367#132367"&gt; &lt;span&gt;5 months ago&lt;/span&gt; &lt;/a&gt; &lt;span&gt; in reply to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34436/nrf_error_no_mem-during-call-to-sd_ble_uuid_vs_add/132360#132360"&gt;Kevin_L&lt;/a&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;Actually, I just found a better solution.&amp;nbsp; In sdk_config.h, I just increased&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT, and that solved the issue.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="height:21px;overflow:hidden;"&gt;
&lt;div style="height:41px;overflow:auto hidden;"&gt;
&lt;ul style="display:flex;list-style:outside none none;margin:0px;overflow:hidden;padding:0px;width:669px;"&gt;
&lt;li&gt;&lt;span style="white-space:normal;"&gt; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34436/nrf_error_no_mem-during-call-to-sd_ble_uuid_vs_add/132367"&gt;Up&lt;/a&gt; &lt;span&gt;+2&lt;/span&gt; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34436/nrf_error_no_mem-during-call-to-sd_ble_uuid_vs_add/132367"&gt;Down&lt;/a&gt; &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a style="white-space:normal;" href="https://devzone.nordicsemi.com/f/nordic-q-a/34436/nrf_error_no_mem-during-call-to-sd_ble_uuid_vs_add/132367"&gt;Reply&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;It took me a while to find that reference in my current project, but it worked fine once I found it.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>