<?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>measuring throughput on S130 V2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27032/measuring-throughput-on-s130-v2</link><description>Hello,
I&amp;#39;m using the SDK 11.0.0 and S130 on both sides, and the projects ble_app_uart_c and ble_app_uart to connect a central and a peripheral through BLE. I was doing some measures to see how much data I could send defining different minimum and maximum</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Nov 2017 10:48:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27032/measuring-throughput-on-s130-v2" /><item><title>RE: measuring throughput on S130 V2</title><link>https://devzone.nordicsemi.com/thread/106121?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 10:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a2d5ed-bacb-4566-a32c-36738aac2af4</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;I achieved 124kbps (full-duplex) using 6pkt/7.5ms with each packet having 20bytes.
My problem was I was counting the number of packets wrongly before.&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t try below the 7.5ms connection interval since this is outside of the BLE standard spec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measuring throughput on S130 V2</title><link>https://devzone.nordicsemi.com/thread/106122?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 10:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:137a9cff-e970-4098-b3ff-52e0cdff8534</guid><dc:creator>djqtsg</dc:creator><description>&lt;p&gt;Hi Jorge,&lt;/p&gt;
&lt;p&gt;did u have a conclusion on the throughput thing, which I am very interested to know?
recently I did some experiment, in which I could achieve 150kbps: 150 bytes of packets, sending rate is 1pkt/8ms. If I increase sending rate to 1pkt/4ms, I have a lot of lost packets, which I haven&amp;#39;t really counted. 150kbps is quite similar to what you achieved. So I want to know you got any further work or results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measuring throughput on S130 V2</title><link>https://devzone.nordicsemi.com/thread/106123?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 13:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ea540c1-4c65-4abf-a644-a9d7f25f6f83</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;I changed from delays to the use of timers to be sure of the time sampling. Now it seems more precise numbers, because I get 386 packets per second on the central and peripheral. Which give me a throughput of 62kbps for each side and 124kbps for both sides (fullduplex) wich is less then the 128kbps expected! Now the numbers feel more real&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measuring throughput on S130 V2</title><link>https://devzone.nordicsemi.com/thread/106120?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 11:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b3dc161-2bf6-47e0-be37-64254c650815</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;I receive 991 packets (average) on the peripheral but only get 223 NRF_SUCCESS (average) on the central from the ble_nus_c_string_send. Can&amp;#39;t understand the differences in this two numbers. Shouldn&amp;#39;t they be the same? I&amp;#39;m only sending 223 packets successfully but receive 991? If anyone can help me understanding this I would appreciate.
EDIT: Discover what I was doing wrong&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measuring throughput on S130 V2</title><link>https://devzone.nordicsemi.com/thread/106119?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 12:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b14220b-5d92-40af-aba5-c969cf287950</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;I&amp;#39;m already counting the number of packets that I receive in the central part and those are the ones considered. I try to send every ms a packet to the central but with different times I get different number of packets. I receive 1000 packets in one second, with 7.5 for min and max interval connection, but I think this is not a real number, because it shouldn&amp;#39;t let me receive all the packets I send in one second.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT&lt;/strong&gt;
I measured only the when I get NRF_SUCCESS and still got a throughput of 153.27kbps. I think is still a misleading number, but I&amp;#39;ll work with it and be cautious!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measuring throughput on S130 V2</title><link>https://devzone.nordicsemi.com/thread/106118?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 11:48:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4323000c-81eb-4ba4-bb09-d4f00d30fb0d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You are calling ble_nus_string_send() 1000 times in a second. And you assume that you send 20 bytes each time. 20 * 8 *1000 = 160 kbps. Calling ble_nus_string_send() doesn&amp;#39;t mean that the packet is actually sent. You need to check the returned error code. I believe most of your calls return NRF_SUCCESS (0x00000000), but some return BLE_ERROR_NO_TX_PACKETS (0x00003004). I would remove the delay and count the number of calls of ble_nus_string_send() that actually returns NRF_SUCCESS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>