<?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>Read the characteristic value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7454/read-the-characteristic-value</link><description>Hey, 
 I want to read the value of characteristic of conneceted peripheral. I&amp;#39;m using two BLE modules, one is peripheral and one is central. I connected with central to peripheral, and now i need to know how to read characteristic value from it. I explored</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Aug 2017 11:47:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7454/read-the-characteristic-value" /><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26551?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2017 11:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c270db2-df91-45f8-8957-eb9051b0c48c</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Can you clarify what I need to configure in order to receive this event ?&lt;/p&gt;
&lt;p&gt;I added some debugging into&lt;/p&gt;
&lt;p&gt;ble_evt_dispatch(ble_evt_t * p_ble_evt)&lt;/p&gt;
&lt;p&gt;But I don&amp;#39;t get an event when the Char is read.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26546?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 14:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43452386-e8de-4dda-8eda-c75203656524</guid><dc:creator>selle</dc:creator><description>&lt;p&gt;Can you give a bit more detail on how you made the function work? Since the sequence Chart says connection established as requirement, i thought i put it in &lt;code&gt;void on_ble_evt(ble_evt_t * p_ble_evt)&lt;/code&gt; to &lt;code&gt;case BLE_GAP_EVT_CONNECTED:&lt;/code&gt; can this work? In addition, the flowchart says that the function needs two arguments, mine expects three (conn_handle, *p_uuid, *handle_range) so i gave it the p_ble_evt-&amp;gt;evt.gap_evt.conn_handle. This causes no compilation error, but the central to disconnect from the peripheral and stopping completly. Any Ideas what might be wrong here? Wrong place to call the function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26550?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 10:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2679c317-32a3-4e0f-88ed-bef3484afad1</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! Please accept my answer by clicking the grey circle with a check mark in it. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26549?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 07:41:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80468cf3-bf80-467d-8836-9d63e268e740</guid><dc:creator>nejcokle</dc:creator><description>&lt;p&gt;I came really close, but i forgot the p_ble_evt part. I managed to get it working now, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26548?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 13:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac61a81d-f23e-4246-bca2-019cee6aa6f0</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Please have a look at &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s120/html/a00796.html"&gt;this&lt;/a&gt; MSC&lt;/p&gt;
&lt;p&gt;You will get a BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP event(p_ble_evt-&amp;gt;header.evt_id) in the ble_evt_dispatch().&lt;/p&gt;
&lt;p&gt;Then you can get the value from p_ble_evt-&amp;gt;gattc_evt.params.char_val_by_uuid_read_rsp...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26545?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 11:59:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac594476-9ad5-4a64-9ff3-1f99b76d95ba</guid><dc:creator>nejcokle</dc:creator><description>&lt;p&gt;I managed to get sd_ble_gattc_char_value_by_uuid_read  function to work, but where can i see the value?  the function returns NRF_SUCCESS, but i don&amp;#39;t know how to implement it to see real value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26543?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 08:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40c287d8-8d4b-42fc-b073-28b097376345</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;Look at this example &lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs"&gt;BLE-APP-LBS&lt;/a&gt;. In this example they read the state of the Button state.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26544?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 08:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2370c252-6bc5-4338-9785-05d9a201ffa0</guid><dc:creator>nejcokle</dc:creator><description>&lt;p&gt;I want to read data from my peripheral module with my central module.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read the characteristic value</title><link>https://devzone.nordicsemi.com/thread/26547?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 07:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6863f8ba-1b01-48dd-b143-88de570efad8</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;Do you want to read the characteristic from central to peripheral or from peripheral to central?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>