<?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>Missing characteristics declaration value.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19877/missing-characteristics-declaration-value</link><description>I am calling certain services and I can see this output on my UART listener: 
 0.000013 : UART Start! 
 0.385355 : BLE Stack Initialized 
 0.385581 : Peer Manager Initialized 
 0.385765 : MAC Address xx:xx:xx:xx:xx:xx 
 0.386151 : Battery Service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Mar 2017 15:11:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19877/missing-characteristics-declaration-value" /><item><title>RE: Missing characteristics declaration value.</title><link>https://devzone.nordicsemi.com/thread/77350?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 15:11:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e307a1d-54e7-41ef-b5ce-729905aad22f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;When you call &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html#ga9ee07ea4b96dcca1537b01ff9a7692ba"&gt;sd_ble_gatts_characteristic_add()&lt;/a&gt;, the last parameter is where the handles for this characteristics is stored. If you want to check the content of a handle, you can call &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html#gad95321e157e632e7ac3a77f3388cbdf7"&gt;sd_ble_gatts_value_get()&lt;/a&gt; with the handle as parameter. For instance in the ble_app_uart example, the handles of the nus service is stored in the struct &lt;code&gt;ble_nus_t m_nus&lt;/code&gt;, and you can access the handles with &lt;code&gt;m_nus.tx_handles.value_handle&lt;/code&gt;, &lt;code&gt;m_nus.rx_handles.value_handle&lt;/code&gt;, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Missing characteristics declaration value.</title><link>https://devzone.nordicsemi.com/thread/77351?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2017 17:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53b65fd2-7d97-4c80-8a02-4cd7e1db880b</guid><dc:creator>Swapnil</dc:creator><description>&lt;p&gt;Well they are apperently already consecutive once the services and characteristics are initialized properly and I just wanted to have some option to read-back all handle-values after the initialization is done as an error-check.&lt;/p&gt;
&lt;p&gt;Is there a way to access that handle-holder that you mentioned?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Missing characteristics declaration value.</title><link>https://devzone.nordicsemi.com/thread/77349?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 11:39:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8366510c-5ac1-4a6a-96e1-ef8606b856ba</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;These handle numbers are most likely used somewhere else. Why do you want these numbers to be consecutive? They are stored in the handle holder, so that you could use the variable instead of the number.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>