<?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 characteristic from peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54819/read-characteristic-from-peripheral</link><description>I have modified a multi-central 52840 example, and would like to connect and read the characteristic value from various peripherals. 
 I looked through posts like the below ones, that describe using the sd_ble_gattc_char_value_by_uuid_read to get the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Nov 2019 07:09:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54819/read-characteristic-from-peripheral" /><item><title>RE: read characteristic from peripheral</title><link>https://devzone.nordicsemi.com/thread/222700?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2019 07:09:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fc4f71f-0fc9-4f38-8710-c3eb4632b3ef</guid><dc:creator>PeteKcSum</dc:creator><description>&lt;p&gt;thx, solved it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read characteristic from peripheral</title><link>https://devzone.nordicsemi.com/thread/221957?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 00:21:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23889b2b-aacf-4467-b05d-5ef5211d393f</guid><dc:creator>Simon</dc:creator><description>[quote user=""]But i am still very unclear and confused how it is done. What needs to be done to trigger the event BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP so that the event handler is called ?[/quote]
&lt;p&gt;&amp;nbsp;After calling&amp;nbsp; &lt;span&gt;sd_ble_gattc_char_value_by_uuid_read(),&amp;nbsp;t&lt;/span&gt;he event will be received by the BLE event handler&amp;nbsp;&lt;em&gt;ble_evt_handler(). &lt;/em&gt;You should modify the switch-case statement to handle the&amp;nbsp;&lt;span&gt;BLE_GATTC_EVT_CHAR_VAL_BY_UUID_READ_RSP&lt;/span&gt;&amp;nbsp;event.&lt;em&gt;&amp;nbsp;&lt;/em&gt;Check out the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v7.0.1%2Fgroup___b_l_e___g_a_t_t_c___r_e_a_d___u_u_i_d___m_s_c.html"&gt;message sequence chart for&amp;nbsp;&lt;/a&gt;&lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v7.0.1%2Fgroup___b_l_e___g_a_t_t_c___r_e_a_d___u_u_i_d___m_s_c.html"&gt;GATTC Read Characteristic Value by UUID&lt;/a&gt;&amp;nbsp;for more information.&lt;/span&gt;&lt;/p&gt;
[quote user=""]After that , how are the char values stored ?[/quote]
&lt;p&gt;&amp;nbsp;You can access the values as explained by Edvin in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52251/read-added-custom-characteristic-value-from-peripheral/210706#210706"&gt;this thread&lt;/a&gt;, If you are wondering if the&amp;nbsp;characteristics are stored in flash, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19690/sd_ble_gatts_value-on-central"&gt;that is not the case&lt;/a&gt;&amp;nbsp;(unless you are using the Peer Manager).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>