<?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>Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45652/throughput-speed-test</link><description>Hello Sirs, 
 We implemented a joint bandwidth test (or speed test) for a radio channel by transmitting notifications. 
 Parameters set in SDK config: 
 
 #define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 247; 
 #define NRF_SDH_BLE_GAP_DATA_LENGTH 251; 
 #define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2019 11:55:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45652/throughput-speed-test" /><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/181570?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 11:55:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14c86360-2cd2-43ad-bcab-d63379517b63</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;HI Chemax,&lt;/p&gt;
&lt;p&gt;I will share the result to you by email if you are interested.&amp;nbsp; Here are part of the result between 2 NRF52840 DK (0dBm), very close ~ 20 cm.&amp;nbsp; Event length = 400ms.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1554983653076v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/181206?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 05:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30baca4f-0dff-4e9f-a1e2-aa59a96cbb0f</guid><dc:creator>CheMax</dc:creator><description>&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;Many thanks for your addition. I didn&amp;#39;t even have a thought in my head that one could try to count radio events.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Good luck in your projects!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/181143?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 15:57:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca2fb2f5-30d1-4d11-9c68-bcb793eb859c</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did some measurement on difference connection interval / throughput / distance / Packet error rate on between 2 NRF52840 DK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The example code is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/jimmywong2003/nrf5-packet-error-rate-measurement-on-ble-connection"&gt;https://github.com/jimmywong2003/nrf5-packet-error-rate-measurement-on-ble-connection&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;from the experiment result, smallest connection interval is the best because it would be lower packet error rate.&lt;/p&gt;
&lt;p&gt;But at the same time, you need to tune the payload (DLE).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/180963?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 08:59:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f81bb15f-fc05-4189-8f37-77585b64ebca</guid><dc:creator>CheMax</dc:creator><description>&lt;p&gt;Ok, thanks.&lt;/p&gt;
&lt;p&gt;I currently have no more questions)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/180840?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 15:49:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fa014b1-86be-4178-a9ad-6e88ec43bb35</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Never heard this to be an issue, there is just so much loss through air because the antenna radiate freely in all directions that it&amp;#39;s impossible to saturate the input in any way.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/180594?ContentTypeID=1</link><pubDate>Sat, 06 Apr 2019 13:32:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:621df910-b413-4a1c-982e-f1b613689801</guid><dc:creator>CheMax</dc:creator><description>&lt;p&gt;With the power level also understood, but for general development: how the receiver will behave (nrf52840) with a high transmitter signal power (+8 dbm) and a small distance:&lt;br /&gt;1. will the signal exceed the permissible level and is not always perceived correctly?&lt;br /&gt;2. Will the automatic tuning of the amplifier work and the signal will be &amp;quot;partially suppressed&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/180205?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 08:27:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f694b2d-3907-4dc5-91ce-40c50a9d87ec</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It&amp;#39;s fixed yes, as configured by&amp;nbsp;sd_ble_gap_tx_power_set().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/180151?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 06:43:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f57419ec-29b0-43b9-bd89-4532a4ea1dd1</guid><dc:creator>CheMax</dc:creator><description>&lt;p&gt;Thanks, about the intervals and the length of the packets, I understood.&lt;/p&gt;
&lt;p&gt;What about other influencing factors:&lt;br /&gt;Power level set upon connection&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;case BLE_GAP_EVT_CONNECTED:
    NRF_LOG_INFO(&amp;quot;Connected&amp;quot;);
    m_conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;
    err_code = nrf_ble_qwr_conn_handle_assign(&amp;amp;m_qwr, m_conn_handle);
    APP_ERROR_CHECK(err_code);

    /*-40dBm, -20dBm, -16dBm, -12dBm, -8dBm, -4dBm, 0dBm, +2dBm, +3dBm, +4dBm, +5dBm, +6dBm, +7dBm and +8dBm.*/
    uint32_t err_code = sd_ble_gap_tx_power_set(BLE_GAP_TX_POWER_ROLE_CONN, p_ble_evt-&amp;gt;evt.common_evt.conn_handle, 4); 
	APP_ERROR_CHECK(err_code); 

	NotifyEvent.flags.fConnect = true;
    xTaskNotify(hDevCtrl, NotifyEvent.Value, eSetValueWithOverwrite);
break;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Will it be fixed (both for a distance of 0.1m and 10m) or will the chip reduce the signal power at a short range?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/180054?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 14:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:256224d2-0583-4b8b-887e-abce6f771ef2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I suspect the max speed may drop yes with shorter interval, but you will get more consistent results, and I expect even better results in environment with interference. I don&amp;#39;t think there is any specific &amp;quot;rule&amp;quot; here, but I would consider longer packets is always preferred if possible (less time on-air, less risk of collision, more time to transmit packets).&lt;/p&gt;
[quote user="CheMax"]&amp;quot;expand the connection interval event&amp;quot;[/quote]
&lt;p&gt;That is a nordic implementation/feature that allow the BLE event to extend beyond the default configured BLE event length.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/179873?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 05:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:630341b6-d3c4-4f6e-b407-e0adb1a4af14</guid><dc:creator>CheMax</dc:creator><description>&lt;div class="tlid-input input has-transliteration"&gt;
&lt;div class="source-wrap"&gt;
&lt;div class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;
&lt;div class="source-input"&gt;
&lt;div class="tlid-source-transliteration-container source-transliteration-container transliteration-container"&gt;
&lt;div class="tlid-transliteration-content transliteration-content full"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="source-footer-wrap source-or-target-footer"&gt;
&lt;div class="source-footer"&gt;
&lt;div class="speech-wrap source-or-target-footer-button left-positioned"&gt;&lt;/div&gt;
&lt;div class="src-tts left-positioned ttsbutton jfk-button-flat source-or-target-footer-button jfk-button"&gt;
&lt;div class="jfk-button-img"&gt;I tried it, but the speed only decreases.&lt;/div&gt;
&lt;div class="jfk-button-img"&gt;&lt;/div&gt;
&lt;div class="jfk-button-img"&gt;I noticed that:&lt;/div&gt;
&lt;ul&gt;
&lt;li class="jfk-button-img"&gt;with the interval&amp;gt; = 50 ms there is no difference in traffic.&lt;/li&gt;
&lt;li class="jfk-button-img"&gt;With an interval of 20-50 ms, the traffic decreases (the average speed is approximately 35-40 kB / s).&lt;/li&gt;
&lt;li class="jfk-button-img"&gt;With an interval of 8-20 traffic is even lower.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Is there a rule for choosing the connection interval based on the traffic volume? For example,&lt;br /&gt;1. For large packets, the connection interval should be small&lt;br /&gt;2. Or for large packets, the connection interval should be large&lt;br /&gt;&lt;br /&gt;Also interested, failures in transmission speeds can be caused by non-optimal application code (in particular, the use of the operating system)?&lt;/p&gt;
&lt;p&gt;Also in your example there was an option to &amp;quot;expand the connection interval event&amp;quot;. But we can not find it in the specification. Is this a feature of your stack implementation or is this feature described in the standard?&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Throughput (Speed) Test</title><link>https://devzone.nordicsemi.com/thread/179850?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 19:04:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50db27ba-df9a-4690-887a-fceacd409c74</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]s a result, during one connection interval, data can be transmitted, for example, 50 ms, and in the next only 10.[/quote]
&lt;p&gt;That is in essence the reason yes, and also why I recommend to always use the shortest possible connection interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>