<?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>about maximum throughput of nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12685/about-maximum-throughput-of-nrf51822</link><description>Hi, 
 I tried to use nrf51822 to update light intensity of 64 area to smartphone and then the smart phone will display those light intensity values in gray scale. I want make the data transmit as fast as it can. therefore I set the max connection interval</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Mar 2016 16:55:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12685/about-maximum-throughput-of-nrf51822" /><item><title>RE: about maximum throughput of nrf51822</title><link>https://devzone.nordicsemi.com/thread/48183?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 16:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffd99311-cb78-4993-ac85-ce132054c5f1</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;For iOS minimum connection parameters see this document from Apple: &lt;a href="https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf"&gt;https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For Android 4.4 - 5.x the minimum interval is 7.5ms  and for Android 6+ the minimum interval is 11.25ms&lt;/p&gt;
&lt;p&gt;Some older Android phones don&amp;#39;t do well at the minimum interval (Samsung Galaxy S3/S4, HTC M8, that era of phone) and you will want to do an interval closer to 30ms.&lt;/p&gt;
&lt;p&gt;My guess for your specific problem is that you are requesting an invalid connection interval when you do your connection parameter update request and either the phone is dropping you or the connection update module sees that the parameters were refused and it is triggering a disconnect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about maximum throughput of nrf51822</title><link>https://devzone.nordicsemi.com/thread/48182?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 14:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de158bec-f6b4-4cba-bc94-108661dcd55d</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;The answer on &lt;a href="https://devzone.nordicsemi.com/question/72219/stream-live-sensor-data-from-ble_uart-application/?answer=72687#post-id-72687"&gt;this thread&lt;/a&gt; could also be helpful&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about maximum throughput of nrf51822</title><link>https://devzone.nordicsemi.com/thread/48180?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 11:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbb27aa8-7eba-4b36-b19e-7db5184540bd</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Wait are you GAP Peripheral or Central? And GATT server or client on top of that? Normally you simply push as many packets to the GATT layer of SoftDevice as possible (typically by using &lt;code&gt;sd_ble_gatts_hvx&lt;/code&gt; or &lt;code&gt;sd_ble_gattc_write&lt;/code&gt; function) - until you get &lt;code&gt;BLE_ERROR_NO_TX_PACKETS&lt;/code&gt; error instead of &lt;code&gt;NRF_SUCCESS&lt;/code&gt;. Then you simply wait for &lt;code&gt;BLE_EVT_TX_COMPLETE&lt;/code&gt; event in your SoftDevice event handler and continue with the procedure (again until you are done or you get another &lt;code&gt;BLE_ERROR_NO_TX_PACKETS&lt;/code&gt;). Packets are then utilized over connection intervals automatically by the SoftDevice and it of course depends on capabilities of both sides of a link. Again you can easily see all this if you plug BLE sniffer and read the trace.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about maximum throughput of nrf51822</title><link>https://devzone.nordicsemi.com/thread/48179?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 11:07:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41f52883-a53f-4923-83dc-d84734faf102</guid><dc:creator>Jones</dc:creator><description>&lt;p&gt;Besides, I also want to know which flag I need to check to see when I can input a new packet data. I have tried a transmit finish flag, but the through put drop dramatically. It seems using this flag can&amp;#39;t send data in each connection interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about maximum throughput of nrf51822</title><link>https://devzone.nordicsemi.com/thread/48181?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 10:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b813980-0cdc-44d4-bba4-d6464f0fd921</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Jones,&lt;/p&gt;
&lt;p&gt;Would be beneficial to get trace of radio communication (any BLE sniffer) to see what&amp;#39;s happening and why connection breaks. Also note that while connection interval 7.5ms is great for throughput most of &amp;quot;mutli-applicational&amp;quot; centrals such as mobile phones don&amp;#39;t like it. Normally both Android and iOS settle for connection intervals in the range of 40-50ms where they work OK (= are tested by mobile makers;).&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>