<?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>what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59472/what-makes-the-ble-transmission-speed-difference-in-different-android-device</link><description>I had a awesome trouble with the ble when update my firmware, with the same code in app and firmware, the samsung s10(android 10) and s7edge(android 8.0) can send 510+K files in about one minute, but the honor V20(android 10) and xiaomi cc9(android 10</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Apr 2020 12:23:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59472/what-makes-the-ble-transmission-speed-difference-in-different-android-device" /><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/243185?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 12:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc445bbb-8cc3-473e-985b-a04f2e276e8c</guid><dc:creator>Edvin</dc:creator><description>[quote user="Edvin Holmseth"]Based on the logging information, is there a difference in MTU/packet size based on what mobile you connect to?[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/242954?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 12:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1a67775-be38-466e-95f1-759976c0bf3e</guid><dc:creator>yanli123</dc:creator><description>&lt;p&gt;It&amp;#39;s all&amp;nbsp; the same,&amp;nbsp; the same App and the same firmware.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/242916?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 10:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de00afbd-a7c5-475e-8f3f-50d417bdb9a3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am still not sure whats going on. I guess you are queuing the packets equally fast whatever mobile phone it is connected to. Based on the logging information, is there a difference in MTU/packet size based on what mobile you connect to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/242870?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 08:58:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b24e4c17-4a09-4096-8887-8a0396c83a54</guid><dc:creator>yanli123</dc:creator><description>&lt;p&gt;I think increase the MTU size isn&amp;#39;t&amp;nbsp; a good idea for me,&amp;nbsp; because we would support many communication way through the same logic. Is there any other way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/242856?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 08:28:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a525222f-cdb6-478e-9188-a3eb495417ac</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;You can try to increase the MTU size, and use longer packets, if you are limited to one packet per connection interval.&lt;/p&gt;
&lt;p&gt;Longer packets is overall a good thing for throughput, because the payload/header ratio will increase with longer packets.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/242761?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 15:46:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd936015-8a35-41b6-80e4-94fa5c0652d3</guid><dc:creator>yanli123</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Actually，I have find the key issues , but I can&amp;#39;t explain that .&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1: The&amp;nbsp; Connection Interval&amp;nbsp; set&amp;nbsp; in&amp;nbsp; firmware is 7.5-11.5ms and the phone likely accept this&amp;nbsp; according to the log . But in one&amp;nbsp;&amp;nbsp;Connection Event ,the samsung can send 3&amp;nbsp;packets, the honor send 1 packets only.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If i&amp;nbsp;increase the&amp;nbsp;Connection Interval , the samsung can send more , the honor still send 1&amp;nbsp;packets.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2:&amp;nbsp;The length of the packets&amp;nbsp; I used is&amp;nbsp; 64bits.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;would you give me some ideas?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/242590?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 07:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deeaf9e8-f948-4de8-be62-ef4ea3818edc</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Actually, not really. I am not that good at this sniffer tool (.cfa). The nRF Sniffer is easier to read (probably because I am familiar with it).&lt;/p&gt;
&lt;p&gt;However, this is a very open question. You say that it takes more time with some phones to transfer a certain file. I assume the application that is transferring this file, which is running on the nRF is something that you wrote. Is that correct? If so, where do you send the actual packets (notifications)? How do you determine:&lt;/p&gt;
&lt;p&gt;1: How often to send the packets?&lt;/p&gt;
&lt;p&gt;2: The length of the packets?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/242579?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 06:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb01bec2-16fa-4b34-ab5f-2fdd61123339</guid><dc:creator>yanli123</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have got&amp;nbsp; the&amp;nbsp;&lt;span&gt;sniffer traces details.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5554.Samsung.cfa"&gt;devzone.nordicsemi.com/.../5554.Samsung.cfa&lt;/a&gt;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3302.honor.cfa"&gt;devzone.nordicsemi.com/.../3302.honor.cfa&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is it useful ?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/241998?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 07:33:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ba5ac1a-dce6-4631-8d84-af2172bb2bc2</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;For sniffer traces you can use &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE" rel="noopener noreferrer" target="_blank"&gt;nRF Connect&lt;/a&gt;. It is fairly easy to set up and use, and it only requires an extra nRF5 DK. Please check the readme file in the download, and the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_ble/UG/sniffer_ble/installing_sniffer.html" rel="noopener noreferrer" target="_blank"&gt;documentation for the nRF Sniffer on Infocenter&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Another thing you can check is the process where you send the files. Try to log some info on the packets that are queued. What is the length of the packets, and how often are they queued. What is the difference between the two scenarios?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/241989?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 04:39:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:656d2005-a82e-457b-93cc-bc2106f88020</guid><dc:creator>yanli123</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry to reply you so late!&amp;nbsp; when&amp;nbsp; i try to&amp;nbsp;&lt;span&gt;capture a sniffer trace, i have a trouble with that, now i don&amp;#39;t known what happens. if there is any progress, i will tell you at once !!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what makes the ble transmission speed difference in different Android device?</title><link>https://devzone.nordicsemi.com/thread/241613?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 13:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f34df32-e41b-41b5-b639-fbbea65bbdfd</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is it possible to capture a sniffer trace of one of the &amp;quot;fast&amp;quot; phones and one of the &amp;quot;slow&amp;quot; phones and upload the traces here? (I don&amp;#39;t need the entire 5 minute trace of the slow one. Only until it has started transferring the packets for a while, but feel free to capture all 5 minutes if you want to).&lt;/p&gt;
&lt;p&gt;I suspect that there isn&amp;#39;t actually anything wrong. Perhaps some of the phones actively request an increased MTU, while others do not. A sniffer trace would be able to tell whether this is the case).&lt;/p&gt;
&lt;p&gt;Are you able to tell from debugging what payload size you are able to transfer in one packet with each of the phones?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How do you determine that the connection interval is actually 11.5ms in each case? Remember that it is the central that has the final saying on the connection interval. What application do you use to transfer these files? Is it something you wrote? If so, is it possible to share some snippets on how you actually transfer the files?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>