<?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>SMP server FOTA speed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82023/smp-server-fota-speed</link><description>Hi, 
 I&amp;#39;m trying to create an application based on the SMP Server app (NCS v1.7.0). I&amp;#39;m able to perform a FOTA using nRF Connect for Mobile and the app._update.bin without any issue but I would like to know if there&amp;#39;s a way to increase the speed of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Nov 2021 13:23:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82023/smp-server-fota-speed" /><item><title>RE: SMP server FOTA speed</title><link>https://devzone.nordicsemi.com/thread/340552?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 13:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4696797f-0692-422a-bfa0-ecd5104624da</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;According to the BLE Spec&amp;nbsp;&lt;em&gt;5.2, vol. 3, Part F, section 3.2.9&lt;/em&gt;, it is not possible to have attributes larger than 512 bytes:&lt;/p&gt;
&lt;blockquote&gt;
&lt;div&gt;&amp;quot;3.2.9 Long attribute values&lt;br /&gt;The longest attribute that can be sent in a single packet is (ATT_MTU-1) octets&lt;br /&gt;in size. At a minimum, the Attribute Opcode is included in an Attribute PDU.&lt;br /&gt;An attribute value may be defined to be larger than (ATT_MTU-1) octets in&lt;br /&gt;size. These attributes are called long attributes.&lt;br /&gt;To read the entire value of an attributes larger than (ATT_MTU-1) octets, the&lt;br /&gt;ATT_READ_BLOB_REQ PDU is used. It is possible to read the first&lt;br /&gt;(ATT_MTU-1) octets of a long attribute value using the ATT_READ_REQ PDU.&lt;br /&gt;To write the entire value of an attribute larger than (ATT_MTU-3) octets, the&lt;br /&gt;ATT_PREPARE_WRITE_REQ and ATT_EXECUTE_WRITE_REQ PDUs are&lt;br /&gt;used. It is possible to write the first (ATT_MTU-3) octets of a long attribute&lt;br /&gt;value using the ATT_WRITE_CMD PDU.&lt;br /&gt;It is not possible to determine if an attribute value is longer than (ATT_MTU-3)&lt;br /&gt;octets using this protocol. A higher layer specification will state that a given&lt;br /&gt;attribute can have a maximum length larger than (ATT_MTU-3) octets.&lt;br /&gt;&lt;strong&gt;The maximum length of an attribute value shall be 512 octets.&lt;/strong&gt;&lt;br /&gt;Note: The protection of an attribute value changing when reading the value&lt;br /&gt;using multiple Attribute protocol PDUs is the responsibility of the higher layer.&amp;quot;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;You also could take look at t&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/79216/ota-dfu-on-nrf52832-does-not-work-with-high-mtu/338482#338482"&gt;his post&lt;/a&gt; for setting MTU to &lt;span&gt;512 bytes&lt;/span&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>