<?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>nrf52832 - BLE UART performance with Android mobile clients</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46967/nrf52832---ble-uart-performance-with-android-mobile-clients</link><description>Hi, 
 i&amp;#39;m trying to sort out a performance problem I have with Android clients connecting to my nrf52832 using ble_nus service. Notice my problem is not about the absolute performance values, but the difference between iOS and Android. I&amp;#39;m trying to understand</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 May 2019 14:34:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46967/nrf52832---ble-uart-performance-with-android-mobile-clients" /><item><title>RE: nrf52832 - BLE UART performance with Android mobile clients</title><link>https://devzone.nordicsemi.com/thread/185539?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 14:34:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95fcd0ff-7335-43e8-8e22-b4efc01b8d80</guid><dc:creator>Bragma</dc:creator><description>&lt;p&gt;I feel stupid since the problem was caused by me setting min connection time to 300ms. I could not imagine things could be so different because of this settings, since everything went so well with iOS and some old Android tablets. Setting the min to 7.5ms made&amp;nbsp;other clients&amp;nbsp;clients go faster.&lt;/p&gt;
&lt;p&gt;I still have some hard time understanding why things went so well with iOS or why the problems appeared after a few seconds with some phones (and not with others...). Probably iOS can send more packets between connection events.&lt;/p&gt;
&lt;p&gt;In any case, thanks for forcing me to recheck some stuff I took for good.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 - BLE UART performance with Android mobile clients</title><link>https://devzone.nordicsemi.com/thread/185516?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 13:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c305c43-e275-4809-a317-7c17dca0023e</guid><dc:creator>Bragma</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;your comments made me wonder if it may be related to slave latency (or generically connection parameter updates), because it makes sense. Sadly I&amp;#39;ve not found anything in my code that may change them. I don&amp;#39;t have a sniffer but I have enabled HCI logs in Android and again found an update sent from my firmware, but it contains exactly the parameters I&amp;#39;ve set and slave latency is 0.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 - BLE UART performance with Android mobile clients</title><link>https://devzone.nordicsemi.com/thread/185476?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 11:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c34b3199-449c-4c59-b97f-34b52a171e9d</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]What&amp;#39;s strange is that on some phones, it begins to become slow some time after connection: if the transmission starts right after connection, there are 3-4 seconds where performance is good, then it becomes slow. If instead transmission start 3-4 seconds after connection, it is slow from start.[/quote]
&lt;p&gt;This is leading my to think it may be related to some connection parameter update, where you are going from a fast connection interval with no slave latency, to a slow connection interval (possible with slave latency) enabled. If you have access to an on-air nRF sniffer log or similar we may take a look who is initiating this.&lt;/p&gt;
&lt;p&gt;You may in your code check if you have included&amp;nbsp;conn_params_init() in your project and if it by accident is reducing your connection interval.&lt;/p&gt;
&lt;p&gt;You may also check out:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/what-to-keep-in-mind-when-developing-your-ble-andr"&gt;https://devzone.nordicsemi.com/b/blog/posts/what-to-keep-in-mind-when-developing-your-ble-andr&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>