<?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>iperf tool for nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77615/iperf-tool-for-nrf52840</link><description>We want to use the iperf3 tool to measure packet loss while sending packets between two nRF52840 DKs. But we can&amp;#39;t seem to find any instructions. We are using a variant of the att_mtu throughput example. Does the nRF52840 DK have support for iperf? What</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Sep 2021 07:43:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77615/iperf-tool-for-nrf52840" /><item><title>RE: iperf tool for nRF52840</title><link>https://devzone.nordicsemi.com/thread/328939?ContentTypeID=1</link><pubDate>Fri, 10 Sep 2021 07:43:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76458d4f-ee70-4c96-ac59-5fde2a048d7a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think there is any easy way to do that without DTM, no.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In theory it is possible to estimate packet loss based on how much data you get through on every Bluetooth connection event, since any lost packet will immediately end the connection event, but since the link layer handles all of this for you you don&amp;#39;t have a lot of visibility into what is going on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want an accurate measurement of packet loss I believe DTM is the best option.&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: iperf tool for nRF52840</title><link>https://devzone.nordicsemi.com/thread/328682?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 22:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc7cc78f-a379-4268-9161-521e38d0ea3a</guid><dc:creator>saima</dc:creator><description>&lt;p&gt;Yes, we are already using the throughput example for getting throughput values, which is working fine. But we would also like to get the packet loss rate between the devices along with that. Is there a way to do that without DTM?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iperf tool for nRF52840</title><link>https://devzone.nordicsemi.com/thread/328662?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 15:24:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b00aa40b-014a-4b7c-9d83-21c7cb8c896a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re interested in throughput it might be better to use the throughput example instead, since this will give you a more realistic measurement of throughput when running the full Bluetooth stack (and not just the simple DTM example).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There should be a throughput example for both the nRF5 SDK and nRF Connect SDK, depending on which one you are planning to use going forward.&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: iperf tool for nRF52840</title><link>https://devzone.nordicsemi.com/thread/328471?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 01:30:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2dc9136-91ec-4147-96f8-d1b0e1f35fec</guid><dc:creator>vham</dc:creator><description>&lt;p&gt;According to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/direct_test_mode/README.html" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt;&amp;nbsp;(nRF Connect sdk 1.6.99) the diagram included in the document shows that you can connect via UART to monitor the values. As far as I remember DTM should be available for the nRF52 series, DK included.&lt;/p&gt;
&lt;p&gt;Also, near the middle of the document you&amp;#39;ll see instructions on&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/direct_test_mode/README.html#testing-with-nrf-connect-for-desktop"&gt;Testing with nRF connect for Desktop&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There is also a&amp;nbsp;pc-nrfconnect-dtm application in &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-dtm" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;&amp;nbsp;(github).&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iperf tool for nRF52840</title><link>https://devzone.nordicsemi.com/thread/328399?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 12:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d90e4f8-4487-4004-9d80-821cbab3ff8a</guid><dc:creator>saima</dc:creator><description>&lt;p&gt;Hi, sorry I have been busy. Thanks for the replies. Our purpose is to see how the throughput varies for the different phys 1M, 2M and CODED in varying distance for example: from 50 m to 1000 m, and at the same time see the packet loss between the devices. We are using two nRF52840 DKs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We can&amp;#39;t seem to find any information if DTM in nRF Connect app for desktop is compatible with&amp;nbsp;&lt;span&gt;nRF52840 DK. If not, is it possible to incorporate code from dtm&amp;#39;s main.c into the mtu throughput example that we are using to test throughput?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: iperf tool for nRF52840</title><link>https://devzone.nordicsemi.com/thread/320665?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 11:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dcc17db-17ef-408e-a2b9-5a826ea939bf</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I agree with the reply from vham earlier. For testing packet loss I think you are better off using the DTM or radio_test examples in the nRF5 SDK, rather than trying to use the iperf3 tool.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Maybe you can give us a bit more information about what the purpose of these tests are, and what you are trying to find out?&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: iperf tool for nRF52840</title><link>https://devzone.nordicsemi.com/thread/320626?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 08:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99450274-ffd9-4904-924e-c7856825241e</guid><dc:creator>vham</dc:creator><description>&lt;p&gt;iPerf3 requires a few linux headers and support for linux sockets for it to build successfully. You would need to adapt the way iPerf works to the nRF52 series and it would probably be a lot of work to be done.&lt;/p&gt;
&lt;p&gt;Maybe you can take a look and use DTM or the &amp;quot;&lt;a title="DTM" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/group__ble__dtm.html?cp=8_5_3_6_2_2" rel="noopener noreferrer" target="_blank"&gt;direct test mode&lt;/a&gt;&amp;quot; and &amp;quot;&lt;a title="DTM HW" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/group__ble__dtm__hw.html?cp=8_5_3_6_2_3" rel="noopener noreferrer" target="_blank"&gt;direct test mode HW&lt;/a&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;The files to study or to look for are In the SDK folder &amp;rarr; examples&amp;nbsp;&lt;span&gt;&amp;rarr;&lt;/span&gt;&amp;nbsp;dtm. In here you can find the hex files as well as the source code for the different series of the nRF5 DKs. You can rebuild it for a custom board if needed.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>