<?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>MAX MTU NRF51</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30202/max-mtu-nrf51</link><description>Hello, 
 I am writing this question in reference to this question . I was asked to be more specific about my question by my colegues. I do understand that this is a duplicate unfortunately I was asked to get a specific confirmation from Nordic SC. The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Feb 2018 08:14:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30202/max-mtu-nrf51" /><item><title>RE: MAX MTU NRF51</title><link>https://devzone.nordicsemi.com/thread/119873?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 08:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e1be4d7-ad7a-4897-80bb-bf3a1e6d5d63</guid><dc:creator>Chocol8</dc:creator><description>&lt;p&gt;Thank you for a detailed answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MAX MTU NRF51</title><link>https://devzone.nordicsemi.com/thread/119866?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2018 07:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e29a01bf-67fb-43de-a69a-03abeff8bcba</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, there is a way to, from the application point-of-view, send more than MTU_SIZE amount of bytes in one go. The functionality is named &amp;quot;Queued write&amp;quot;, which is also commonly named &amp;quot;Long write&amp;quot;.&lt;/p&gt;
&lt;p&gt;This is normally not a function that you want to use, especially if high bandwidth is crucial in your application. Here&amp;#39;s the explanation of this feature from the Core v4.2 specification:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The purpose of queued writes is to queue up writes of values of multiple attributes in a first-in first-out queue and then execute the write on all of them in a single atomic operation.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This function is aimed towards altering several attributes in a &amp;quot;big bang&amp;quot; update, like disabling/enabling all notifications in an application. Think synchronous motor applications, where you can get a signal to turn off all motors with the same event instead of waiting for several events and handling this start/stop in the application state machine.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A queued write operation on-air consists of two commands:&lt;/p&gt;
&lt;p&gt;* prepare write&lt;/p&gt;
&lt;p&gt;* execute write&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The central will do a given number of &amp;quot;prepare write&amp;quot; command over-air, and finally &amp;quot;execute write&amp;quot;.&lt;/p&gt;
&lt;p&gt;Underneath the hood, this has more overhead compared to manually segmenting your buffer into 20-byte chunks and sending them like a normal write command.&lt;/p&gt;
&lt;p&gt;Each &amp;quot;prepare write&amp;quot; will consist of a header with opcode/handle/value offset, which reduces your overall throughput.&lt;/p&gt;
&lt;p&gt;If you use this function to send 200 bytes to one characteristic, this means that your current consumption will be higher compared to using normal write, and you will also have to calculate the total length based on the opcode/handle/value offset.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;All-in-all: Not recommended unless you use the feature as intended, which is updating several characteristics in one operation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>