<?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>nrf51-ble-app-lbs throughput test</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1823/nrf51-ble-app-lbs-throughput-test</link><description>Hi, 
 I am using the Evaluation Kit, and I have tried to send some data between the Developoment Dongle (PCA10000) to the Evaluation Kit board (PCA10001). As the Development Dongle supports only one packet per connection interval, the theoretical maximum</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Mar 2014 13:40:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1823/nrf51-ble-app-lbs-throughput-test" /><item><title>RE: nrf51-ble-app-lbs throughput test</title><link>https://devzone.nordicsemi.com/thread/7905?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2014 13:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9b652d1-8394-4981-aae6-317449b61947</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;As is commented elsewhere, the minimum connection interval supported will be dependent on device. As far as I know, the S4 won&amp;#39;t accept this, and hence, will deny any such request. After the defined number of attempts, you should therefore see an error from ble_conn_params, saying that the connection parameters were not accepted.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t tested this with the S4 myself, but I suggest you get a sniffer trace and post a separate question if you have further questions. Remember that it may not even be using a 20 ms interval, but you can check this either with a sniffer, or by checking the conn_params in the connected event, in ble_gap_evt_connected_t.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d also be happy if you could accept my reply as an answer, to clear up the question, since I think it covers the initial question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs throughput test</title><link>https://devzone.nordicsemi.com/thread/7904?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2014 12:26:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65ca7b8a-e79f-440c-9bdd-ae8952325442</guid><dc:creator>Marcus Rundgren</dc:creator><description>&lt;p&gt;Thanks for your answer!&lt;/p&gt;
&lt;p&gt;When I try to decrease the connection interval in the Master Control Panel, I reach the theoretical throughput (2.67 kB/s) :D&lt;/p&gt;
&lt;p&gt;But I also tried to define MAX_CONN_INTERVAL to 7,5 ms without any success. It seems like it does not matter and the throughput is still like for connection interval = 20 ms.&lt;/p&gt;
&lt;p&gt;So when I try your application nRF Master Control for Android, I do not manage to get connection interval = 7.5 ms. The phone I use is Samsung Galaxy S4. And I had also expected that it should use several packets per connection interval. But I only reach 1,6 kB/s.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-lbs throughput test</title><link>https://devzone.nordicsemi.com/thread/7903?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 13:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aae56ca-1ce9-4ebe-bbf3-e33ed87aea40</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Have you checked what the connection interval for the link actually is? You can easily see this in the log pane (or log file, File -&amp;gt; Log file) of MCP. If you use the parameters you list here in the code on the Peripheral side, and connect with the Master Control Panel&amp;#39;s default settings, which is a connection interval of 20 ms, the connection interval will stay at 20 ms. The reason is that this is well within the range wanted by the Peripheral (from 7.5 to 40 ms), and it will see no reason to send an update request.&lt;/p&gt;
&lt;p&gt;Using a connection interval of 20 ms, with 1 packet per interval, you should expect to see exactly 1000 bytes/second, which seems to be close to what you get. If you want to actually get 7.5 ms connection interval, you need to change the settings, so that an update request is actually sent (i.e. make sure that the initial interval of MCP is outside the wanted range), or make sure that MCP connects with 7.5 ms to start with. The latter can be changed from MCP&amp;#39;s options, found in the File menu, Options and then on the Connection parameters tab, while the former can be achieved by changing the peripheral code to for example this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
#define MIN_CONN_INTERVAL               MSEC_TO_UNITS(7.5, UNIT_1_25_MS) 
#define MAX_CONN_INTERVAL               MSEC_TO_UNITS(7.5, UNIT_1_25_MS)

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;(This may not be recommended for production code though, since it doesn&amp;#39;t give the Central a lot of wiggle room.)&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t explicitly measured the throughput with MCP and the throughput-test, but as far as I can see, the behavior on-air (as seen using our sniffer) is as expected, both with 7.5 ms and 20 ms connection interval, so I believe the throughput should be close to the theoretical 2.67 kB/s.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>