<?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>Increasing Throughput</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42780/increasing-throughput</link><description>Hello 
 According to BLE Specifications we should be able to get 125kbits/s over the air transmission i cannot seem to get anything remotely close to this. 
 Is there something special that needs to be done to achieve this type of throughput? 
 
 I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Jan 2019 09:16:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42780/increasing-throughput" /><item><title>RE: Increasing Throughput</title><link>https://devzone.nordicsemi.com/thread/168166?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 09:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3248caf-46a0-449a-8613-ed954cacb3b7</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi David&lt;/p&gt;
&lt;p&gt;The stack developers pointed me to &lt;a href="https://www.nordicsemi.com/DocLib/Content/SoftDevice_Spec/s140/latest/SDS/s1xx/multilink_scheduling/suggested_intervals_windows_s132"&gt;this guide&lt;/a&gt; describing how to set connection parameters optimally for good throughput.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For one thing the event length should be longer than what I suggested earlier (formula included in the guide).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please have a look and see if you can get better performance following the suggestions in the guide.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing Throughput</title><link>https://devzone.nordicsemi.com/thread/168118?ContentTypeID=1</link><pubDate>Mon, 28 Jan 2019 01:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08bfcf30-be8b-495f-acbb-0f3b43d32207</guid><dc:creator>David</dc:creator><description>&lt;p&gt;I have increased the MTU to 247 &lt;br /&gt;and have set Connection_interval to 100 &lt;br /&gt;and an Event Length of 12.5&amp;nbsp;&lt;br /&gt;The throughput has improved to about 16 kbps but only for some of the connections&amp;nbsp;&lt;br /&gt;what is the optimal configurations for 8 connections (4 central and 4 peripheral) with a MTU of 247?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing Throughput</title><link>https://devzone.nordicsemi.com/thread/167149?ContentTypeID=1</link><pubDate>Tue, 22 Jan 2019 15:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a09c3931-d807-43c8-811b-421e2601d5d6</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi David&lt;/p&gt;
&lt;p&gt;The problem in this case is that you have to divide the total radio time between all the different roles: Central, peripheral, advertiser and scanner.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is your&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH parameter in sdk_config.h set to?&lt;br /&gt;You might get a higher data throughput by increasing this parameter, as it increases the allocated time for each connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, with so much going on I would try using a slightly longer connection interval (try 15-30ms and see if it improves the overall performance).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Utilizing&amp;nbsp;larger packets will be critical to improving throughput in this scenario.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What on air bitrate are you using? 1 or 2 Mbps?&lt;/p&gt;
&lt;p&gt;When you say 1Mbit/s throughput I assume you mean aggregate throughput over all the 8 links?&lt;br /&gt;Either way I think this is optimistic, as there is quite a bit of overhead when managing multiple links, and you will lose throughput to the advertising and scanning operations.&amp;nbsp;&lt;br /&gt;The absolute maximum data throughput when you have a single link running is 1360kbps, but when running multiple links the total throughput will be reduced.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing Throughput</title><link>https://devzone.nordicsemi.com/thread/166972?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 20:38:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09fda76c-ce29-40f7-83c7-07124d43535e</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Both devices are NRF5832 dev boards.&lt;/p&gt;
&lt;p&gt;SDK 15.2&lt;/p&gt;
&lt;p&gt;NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL = 7.5&lt;br /&gt;NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL = 7.5&lt;br /&gt;SLAVE_LATENCY = 0&lt;br /&gt;CONNECTION_SUPERVISED_TIMEOUT = 4000&lt;/p&gt;
&lt;p&gt;NRF_SDH_BLE_PERIPHERAL_LINK_COUNT = 4&lt;br /&gt;NRF_SDH_BLE_CENTRAL_LINK_COUNT = 4&lt;/p&gt;
&lt;p&gt;NRF_SDH_BLE_GATT_MAX_MTU_SIZE = 200&lt;br /&gt;NRF_SDH_BLE_GAP_DATA_LENGTH = 204&lt;/p&gt;
&lt;p&gt;ADV_INTERVAL = 5000&lt;br /&gt;BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED&lt;br /&gt;&lt;br /&gt;NRF_BLE_SCAN_SCAN_INTERVAL = 160&lt;br /&gt;NRF_BLE_SCAN_SCAN_DURATION = 0&lt;br /&gt;NRF_BLE_SCAN_SCAN_WINDOW = 80&lt;br /&gt;&lt;br /&gt;The scenario:&lt;br /&gt;I have multiple boards that i want to all be connected into a Mesh (i don&amp;#39;t want to use BLE 5 Mesh because the throughput is terrible).&lt;/p&gt;
&lt;p&gt;each board is running the same code:&lt;br /&gt;It will send out its own advertisements and scan for other devices that are the same and initiate connections to them.&lt;/p&gt;
&lt;p&gt;I managed to get up to 250 kbit/s but only after i stopped advertising and scanning, and that&amp;#39;s only with 2 boards connected to each other (so 1 connection each) however this isn&amp;#39;t really going to work.&lt;/p&gt;
&lt;p&gt;I need a solution whereby the devices will still advert and scan (but maybe only every so often) so that they can see new devices to connect too. but also have reasonable throughput during the connections.&lt;br /&gt;&lt;br /&gt;what would you suggest as good Scanning / Advertising configurations so that they can still see each other if they need too but only do it every now and then?&lt;/p&gt;
&lt;p&gt;And also be able to still maintain up to 8 connections with reasonable throughput lets say 1Mbit/s?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;David Hutchinson&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing Throughput</title><link>https://devzone.nordicsemi.com/thread/166958?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 17:37:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c8296f9-514d-41ff-aff6-dd1443ab2b59</guid><dc:creator>awneil</dc:creator><description>[quote userid="2116" url="~/f/nordic-q-a/42780/increasing-throughput/166918"]do you have some other device on one side?[/quote]
&lt;p&gt;In particular, Android and iOS both put limits on the allowable connection parameters.&lt;/p&gt;
&lt;p&gt;In addition, a particular phone may further restrict it - and it may differ&amp;nbsp;if you disconnect and immediately reconnect!&lt;/p&gt;
&lt;p&gt;See:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42624/ble4-transfer-speed-slower-on-iphone8-x-than-5-6-7/166097#166097"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/42624/ble4-transfer-speed-slower-on-iphone8-x-than-5-6-7/166097#166097&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing Throughput</title><link>https://devzone.nordicsemi.com/thread/166918?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 15:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36427159-204f-4531-a96b-10513ed0f722</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi David&lt;/p&gt;
&lt;p&gt;Are the devices on both sides Nordic devices, or do you have some other device on one side?&lt;/p&gt;
&lt;p&gt;Do you know the connection parameters used for the BLE link?&lt;/p&gt;
&lt;p&gt;In general you want to keep the connection interval short for quicker BLE transmission.&lt;/p&gt;
&lt;p&gt;Also, if you send more data in each packet you should be able to&amp;nbsp;speed things up. Are you able to buffer multiple 10 byte updates into a single packet before you send it?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>