<?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 write characteristic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55783/long-write-characteristic</link><description>Hi All, 
 
 I want to read/write long characteristic (200 bytes max) from Android to my device. 
 I&amp;#39;m working on the 15.2.0 SDK and S140 Softdevice. 
 
 I read some Q&amp;amp;A on the forum, but I still confused on the right method to use : 
 
 Use Queued Writes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Dec 2019 13:35:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55783/long-write-characteristic" /><item><title>RE: Long write characteristic</title><link>https://devzone.nordicsemi.com/thread/226159?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 13:35:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0d5d1b9-2736-4849-a926-a216280e3f38</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Pascal,&lt;/p&gt;
&lt;p&gt;First of all, you should not make any assumptions about the GAP data length if you intend to support a wide range of phones, as that depends significantly.&lt;/p&gt;
&lt;p&gt;If by long write, you mean queued writes, you can refer to for instance the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_ble_queued_write.html"&gt;queued writes library&lt;/a&gt; and&amp;nbsp; &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_queued_writes.html"&gt;Queued Writes Application example&lt;/a&gt;. This is clean, since you first transfer all the new data, and then activate it. (See &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.0.1/group___b_l_e___g_a_t_t_c___v_a_l_u_e___l_o_n_g___w_r_i_t_e___m_s_c.html"&gt;MSC seen from the client&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>