<?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 to read a characteristic value?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68032/how-to-read-a-characteristic-value</link><description>HI, 
 I get confused using the ble terms hence i&amp;#39;ll try to articulate my query as much as possible. I&amp;#39;m using the nRF52832 board and all i have one service with one characteristic, 
 the characteristic has read,write and notify properties. I have implemented</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Nov 2020 10:23:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68032/how-to-read-a-characteristic-value" /><item><title>RE: How to read a characteristic value?</title><link>https://devzone.nordicsemi.com/thread/278959?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 10:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67356858-2088-486c-b5c5-007b1dfb1b60</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Sandeep&lt;/p&gt;
&lt;p&gt;When notifications are disabled you won&amp;#39;t be able to send notifications.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you use the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.2.0/group___b_l_e___g_a_t_t_s___f_u_n_c_t_i_o_n_s.html?cp=4_7_3_1_2_4_2_13#ga2760c51ea71853bd74e2e7e7117ef52a"&gt;sd_ble_gatts_value_set(..)&lt;/a&gt;&amp;nbsp;function instead it should work. This will change the value of the local attribute, and once you read it from the app the updated value should be reflected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read a characteristic value?</title><link>https://devzone.nordicsemi.com/thread/278843?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 16:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8985fb5f-3f04-4900-8304-de51aa641d47</guid><dc:creator>Sandeep singh</dc:creator><description>&lt;p&gt;Hi ovrebekk thanks for the reply,&lt;/p&gt;
&lt;p&gt;Yes after disabling the notification from the app when i do a read request, it shows me the value that i had used while initializing the characteristic.&lt;/p&gt;
&lt;p&gt;for ex:&lt;/p&gt;
&lt;p&gt;value=2;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;add_char_params.p_value=&amp;amp;value;&lt;/p&gt;
&lt;p&gt;i increment the &amp;quot;value&amp;quot; for every notification interval. After stopping the notification interval when i hit read, i get the output as 2 only.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read a characteristic value?</title><link>https://devzone.nordicsemi.com/thread/278784?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 13:08:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83586507-5534-4449-8ab3-b4a0abab0c56</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Sandeep&lt;/p&gt;
&lt;p&gt;What issue are you seeing?&lt;/p&gt;
&lt;p&gt;Are you reading something other than 5 after disabling notifications in the app?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>