<?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 more than 1 byte using sd_ble_gattc_read?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25243/how-to-read-more-than-1-byte-using-sd_ble_gattc_read</link><description>Hi I use 4 characteristics in peripheral and central. When I write to one of the characteristics in the peripheral, I read it using sd_ble_gattc_read in the central. But, when BLE_GATTC_EVT_READ_RSP is got, only p_ble_evt-&amp;gt;evt.gattc_evt.params.read_rsp</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 17 Sep 2017 05:21:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25243/how-to-read-more-than-1-byte-using-sd_ble_gattc_read" /><item><title>RE: How to read more than 1 byte using sd_ble_gattc_read?</title><link>https://devzone.nordicsemi.com/thread/99450?ContentTypeID=1</link><pubDate>Sun, 17 Sep 2017 05:21:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a0938a3-3700-409c-b1f7-16b39d52a2c3</guid><dc:creator>nordicdev</dc:creator><description>&lt;p&gt;Sorry, I was fooled by IDE. The IDE showed only 1 byte but when I read all the 19 bytes, they are correct in the code. Thanks for the reply, RK!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to read more than 1 byte using sd_ble_gattc_read?</title><link>https://devzone.nordicsemi.com/thread/99449?ContentTypeID=1</link><pubDate>Sun, 17 Sep 2017 01:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec55abcb-1e6f-4476-8141-8632ef8a1470</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;what do you mean &amp;quot;only p_ble_evt-&amp;gt;evt.gattc_evt.params.read_rsp.data[0] is present.&amp;quot;? What are the following 19 bytes. if the length is 20, there are 20 bytes there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>