<?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>Slow DFU speed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22952/slow-dfu-speed</link><description>Hello, 
 yesterday I got a Thingy:52 device at an event held in Frankfurt/Germany. At home I&amp;#39;ve tested the DFU for the latest firmware and observed that the image was transfered at a very low
speed. The image was transfered with 0.4 kByte/second. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Jun 2017 07:19:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22952/slow-dfu-speed" /><item><title>RE: Slow DFU speed</title><link>https://devzone.nordicsemi.com/thread/90295?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 07:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2961a43f-026e-4944-89a3-0dabb90ae85b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;The relatively low through put on the S8 due to we don&amp;#39;t implement Bluetooth 4.2 or 5.0 on the DFU bootloader as we want it to be compatible with older device.
Usually the max through put on Bluetooth 4.1 is about 16kB/s. But you won&amp;#39;t be able to get to that value because the phone doesn&amp;#39;t want to give the full time domain for BLE also it would prefer to save the power consumption.&lt;/p&gt;
&lt;p&gt;If you want to test thoughput, I would suggest to use our &lt;a href="https://devzone.nordicsemi.com/blogs/1078/throughput-and-long-range-demo/"&gt;throughput test&lt;/a&gt; example in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Slow DFU speed</title><link>https://devzone.nordicsemi.com/thread/90296?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 18:40:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3216c87a-f095-4216-874a-385e23917b61</guid><dc:creator>Superkurt</dc:creator><description>&lt;p&gt;Thanks for looking into that. Good to know that&amp;#39;s also on a Galaxy S8 the throughput is &amp;quot;only&amp;quot; 4kB/s. I&amp;#39;ll test it on other phones. Currently I&amp;#39;ve no device for getting the sniffer trace. Thanks for your help so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Slow DFU speed</title><link>https://devzone.nordicsemi.com/thread/90298?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 14:15:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bf389e7-d8ff-4888-bab0-0ed201c8a4d2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s the Android&amp;#39;s log, not the sniffer trace. It seems that the connection interval was 48ms and only 1 packet per connection interval. If I have the sniffer trace, I can find the reason why it&amp;#39;s not updated to 30ms.&lt;/p&gt;
&lt;p&gt;Most likely it&amp;#39;s the phone&amp;#39;s limitation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Slow DFU speed</title><link>https://devzone.nordicsemi.com/thread/90297?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 14:09:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08a27437-1b50-46b6-91cc-148a3ca9ddf5</guid><dc:creator>Superkurt</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve captured the packets directly on the smartphone via activating the bluetooth logging in the developer options. I&amp;#39;ve attached the log. You can open the log with wireshark.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/thingyDfu.log"&gt;thingyDfu.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Slow DFU speed</title><link>https://devzone.nordicsemi.com/thread/90294?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 08:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7113224f-a82b-4009-ad53-14af38e02632</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Superkurt,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s odd that the speed was only 0.4kB/s. We need to have a look at the &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;sniffer trace&lt;/a&gt; to see how many packet was sent on every connection event/interval. Usually we see 4 to 6 packets. If the connection interval is set at 30ms, the throughput should be around 2.6kB/s.&lt;/p&gt;
&lt;p&gt;Note that not all the time we have full control of what configuration the phone should use. The app has limited access to BLE stack on the phone.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m seeing here throughput of 4kB/s with my Galaxy S8.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>