<?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>Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58486/regarding-ble-data-transfer-speed</link><description>Hi Team, 
 We are using nRF 52840 chip for our development of product. 
 As of now the settings for BLE data transfer are as below. 
 MIN_CONN_INTERVAL 20 // which is the min required MAX_CONN_INTERVAL 2500 //max required. 
 Currently when we are transferring</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Mar 2020 08:22:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58486/regarding-ble-data-transfer-speed" /><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237935?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 08:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b0a2b9a-ca73-4e6a-9d13-924d62710ec0</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The connection intervals are still invalid, I recommend a minimum value of 6 (7.5ms) and a maximum value of 24(30ms).&lt;br /&gt;&lt;br /&gt;And we still need the logs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237584?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 02:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b312bac5-6507-42da-91c5-dd6ed313e9f5</guid><dc:creator>Zero.cool</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/haakonsh"&gt;haakonsh&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Thank you for response.&lt;/p&gt;
&lt;p&gt;I try to do setup as mentioned and provide logs.&lt;/p&gt;
&lt;p&gt;Also I got my settings which are as below set in code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BLE_GAP_DATA_LENGTH :- 251&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;PHY - LE 2&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;MAX_CONN_INTERVAL 5; //in 1.25 ms units.&lt;/p&gt;
&lt;p&gt;MIN_CONN_INTERVAL 7.5; //in 1.25 ms units.(Changed as suggested , but no improvements)&lt;/p&gt;
&lt;p&gt;GATT_MAX_MTU_SIZE 247,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Provide your view on settings.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237507?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 14:58:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2cfb7a9-72ad-4a4d-b8be-3fb53497498c</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Enabled the log module and connect the DK to a PC, open up a terminal and read the log.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Baud rate: 115.200&lt;/li&gt;
&lt;li&gt;8 data bits&lt;/li&gt;
&lt;li&gt;1 stop bit&lt;/li&gt;
&lt;li&gt;No parity&lt;/li&gt;
&lt;li&gt;HW flow control: None&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237392?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 11:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:598aa1d1-da03-4c5b-8b06-0ced59fb418f</guid><dc:creator>Zero.cool</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Ok,&amp;nbsp; how the log should be produced,&amp;nbsp;&lt;br /&gt;Using sniffer, or Can I use the Default DK (nrf52840 ) as sniffer and get it.?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237378?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 10:28:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ef78981-ff10-4c5c-a33b-c9b60acfff38</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Your values are invalid. The minimum connection interval is 7.5ms. When your minimum and maximum values are outside of what the given stack you&amp;#39;re connected is able to give you, you will usually get a default value that is usually very large.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Again, a log would tell you the actual values that your link is given after parameter negotiations. The values that you set&amp;nbsp;&lt;span&gt;MAX_CONN_INTERVAL, etc, to are desired values, they are not hard-coded, but rather it tells the Central stack what values you would prefer to get.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237370?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 10:10:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:375b3ffc-4a0c-4de9-ad60-95c48b63c45e</guid><dc:creator>Zero.cool</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/haakonsh"&gt;haakonsh&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Sorry,&lt;/p&gt;
&lt;p&gt;forgot to mention connection interval time.&lt;/p&gt;
&lt;p&gt;MAX_CONN_INTERVAL 5; //in 1.25 ms units.&lt;/p&gt;
&lt;p&gt;MIN_CONN_INTERVAL 3; //in 1.25 ms units.&lt;/p&gt;
&lt;p&gt;GATT_MAX_MTU_SIZE 247,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237366?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 09:56:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b9149ab-522c-4f3f-8e97-449fc5c78a92</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;You need to log the connection parameters the are negotiated for your specific link otherwise we&amp;#39;re just fumbling in the dark. There&amp;#39;s not much that can be done to change the state if we do not know what the current state is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237352?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 09:29:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41ec1843-19b7-407b-80e5-e532785fab83</guid><dc:creator>Zero.cool</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/haakonsh"&gt;haakonsh&lt;/a&gt;,&lt;br /&gt;Thank you for response.&lt;/p&gt;
&lt;p&gt;I have already went through above mentioned links.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;MTU Length :- 256 (which is max allowed)&lt;br /&gt;PHY - LE 2&lt;br /&gt;Connection event length we have kept variable for slave device to connect(according to my knowledge).&lt;br /&gt;I have tried using PC - Linux- Ble , nrf52840 -DK, Rasp. (with 5.0 BLE) .&lt;br /&gt;But same the speed is not getting increased.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you suggest some test which you might have conducted and scenario, I can try them and check your recommendation for max. throughput.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding BLE data transfer speed</title><link>https://devzone.nordicsemi.com/thread/237347?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 09:22:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e453bfcb-b087-48c7-a644-b9d43e763868</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;First off you need to log what your negotiated connection interval, MTU length, Data Length Extensions/Connection event length, and PHY are for your link. What kind of a device are you connected to, another nRF52/µcontroller, or a smartphone?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;These two guides are pretty good:&lt;br /&gt;&lt;a href="https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/"&gt;https://www.novelbits.io/bluetooth-5-speed-maximum-throughput/&lt;/a&gt;&lt;br /&gt;&lt;a href="https://punchthrough.com/maximizing-ble-throughput-on-ios-and-android/"&gt;https://punchthrough.com/maximizing-ble-throughput-on-ios-and-android/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>