<?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>Write without response client example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12486/write-without-response-client-example</link><description>I&amp;#39;m writing the client-side code for the Nordic DFU service and according to the spec, the DFU packet characteristic uses Write Without Request. Are there any examples of client code for services that use Write Without Request? Particularly, I&amp;#39;m having</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Mar 2016 10:22:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12486/write-without-response-client-example" /><item><title>RE: Write without response client example</title><link>https://devzone.nordicsemi.com/thread/47304?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2016 10:22:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5321b6e3-1b25-4a72-9fe4-d6d633ddab65</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_nus_c.html?cp=4_0_0_4_2_0_3"&gt;NUS central&lt;/a&gt; example in our SDK (SDK10 and newer) uses write without request (write command). See inside the &lt;code&gt;ble_nus_c_string_send&lt;/code&gt; function in ble_nus_c.c.&lt;/p&gt;
&lt;p&gt;If your hardware &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fble_sdk_app_nus_c.html&amp;amp;cp=4_0_0_4_2_0_3"&gt;supports&lt;/a&gt; it i recommend using the newest SDK and softdevice.&lt;/p&gt;
&lt;p&gt;I understand that the part about the buffers is confusing. It is actually about internal buffer in the softdevice, and is not something the user needs to think about. The main difference between the two is that the write command does not need an application level acknowledgement before sending the next packet. It can send a lot of packets each connection interval, while a write request can only send one packet each interval. This is because the peripheral must approve the request before a new one can be sent. This approval can be done the earliest on the next connection interval.&lt;/p&gt;
&lt;p&gt;The write command offers better throughput, and that is why it is used in applications where you send a lot of data (like in OTA DFU).&lt;/p&gt;
&lt;p&gt;-Anders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>