<?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>Long read on peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20017/long-read-on-peripheral</link><description>Hi all.
What happends on peripheral side when I use long write by sd_ble_gattc_write as devzone.nordicsemi.com/.../ ? 
 How Can I read it on peripheral ?
Can I use once sd_ble_gatts_value_get or multiple sd_ble_gattc_read ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Mar 2017 07:34:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20017/long-read-on-peripheral" /><item><title>RE: Long read on peripheral</title><link>https://devzone.nordicsemi.com/thread/77926?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 07:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31b6a05e-7c44-415a-94c2-7b2f090f3cde</guid><dc:creator>Jackxl</dc:creator><description>&lt;p&gt;This code is solution for first part of question:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if(p_evt_write-&amp;gt;op == BLE_GATTS_OP_EXEC_WRITE_REQ_NOW)
{
    if(*((uint16_t *)m_mem_block.p_mem) == p_actrl-&amp;gt;dhc_handles.value_handle)
    {
            printf(&amp;quot;LONG CHARACTERISTIC WRITTEN!\r\n&amp;quot;);
        }
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long read on peripheral</title><link>https://devzone.nordicsemi.com/thread/77925?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 06:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0bfa093-f838-4061-afa0-35b1cf855ba7</guid><dc:creator>Jackxl</dc:creator><description>&lt;p&gt;OK. It is ansver for second part of question.
What event and parameters I get when transmition is complete on peripheral side?
I can use sd_ble_gatts_value_get now, but where ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long read on peripheral</title><link>https://devzone.nordicsemi.com/thread/77924?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2017 18:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a345ae-47de-4277-a1e5-3b6dfcc66ef8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You must use sd_ble_gatts_value_get().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>