<?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>Android BLE issues on parallel (5+) connection establishments</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77268/android-ble-issues-on-parallel-5-connection-establishments</link><description>We need to establish connections to muliple of our products (they use nRF52832/nRF52840) parallel from our Android/iOS apps to send commands which are time critical (in relation between the devices). 
 This works fine from our iOS app. 
 On Android side</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Aug 2024 11:47:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77268/android-ble-issues-on-parallel-5-connection-establishments" /><item><title>RE: Android BLE issues on parallel (5+) connection establishments</title><link>https://devzone.nordicsemi.com/thread/498017?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 11:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7604a06b-95c0-41bb-94fb-9023b0d07e09</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Tomas,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please create a new ticket for your question. I would suggest to use &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;the sniffer&lt;/a&gt; to track what happen on each link.&amp;nbsp;&lt;br /&gt;When doing DFU, the throughput requirement is high, so I am not sure having multiple connections doing DFU at the same time would be the best idea.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android BLE issues on parallel (5+) connection establishments</title><link>https://devzone.nordicsemi.com/thread/496216?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 12:40:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bbfdcbd-ca99-451a-be3a-07370a8dc7e8</guid><dc:creator>Tomas Markovic</dc:creator><description>&lt;p&gt;Hi, I know that this is an old question, but I&amp;#39;m having a similar issue with 5 parallel connection when performing DFU via BLE on Android/iOS. Connection initialization is failing for some devices with GATT_ERROR (133). When I performed one by one or 2-3 in parallel, it is ok.&lt;/p&gt;
&lt;p&gt;Do you have some solution to avoid this?&lt;/p&gt;
&lt;p&gt;I have plan to try synchronize the connection process, but didn&amp;#39;t tried yet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android BLE issues on parallel (5+) connection establishments</title><link>https://devzone.nordicsemi.com/thread/319706?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 07:01:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:693d7072-cc05-46ea-a1c5-f0ba8c366651</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Niklas&lt;/p&gt;
&lt;p&gt;Unfortunately it seems both our Android developers are on summer leave until August &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I am afraid it will be limited how much we can look into this until they are back, since July is already a very hectic time in support.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have one question though: On the devices where you see stability issues, are you able to solve these issues by removing one of the links?&lt;br /&gt;In other words, if 6 link is unstable, will 5 links be stable?&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: Android BLE issues on parallel (5+) connection establishments</title><link>https://devzone.nordicsemi.com/thread/319556?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 10:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5325919-7476-4706-9230-3102f1dab875</guid><dc:creator>niklas.dahlheimer</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;thank you for your response!&lt;/p&gt;
&lt;p&gt;I get your point about the frequently used 2.4GHz band. We could totally live with connection delays/bad bandwidth etc. if we would get reliable error-codes/infos from the Android Bluetooth stack. But these &amp;quot;random&amp;quot; and unpredictable errors I described above are kind of &amp;quot;gamling&amp;quot; in a production environment.&lt;br /&gt;&lt;br /&gt;We&amp;#39;ve tested with different Android devices (Google Pixel, LG, Samsung) and most of the time with 6 devices. So the hard limit of 7 devices /thanks for the linkto the thread)&amp;nbsp; should not apply in this cases, unless the&amp;nbsp;Android Gatt&amp;nbsp;cache is not cleaned up properly in time. We definitly call gatt.close() on every disconnect, so the cache SHOULD be cleaned up properly.&lt;br /&gt;&lt;br /&gt;I would love to here from you after you had a chat with your Android&amp;nbsp;engineers! I know it&amp;#39;s a rare usecase. &lt;br /&gt;&lt;br /&gt;Maybe we could build a test app with the Blinky app as counterpart .So we could reduce the issue to&amp;nbsp;it&amp;#39;s core without any vendor specific stuff. I will discuss this with my colleagues.&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;Niklas&lt;/p&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu4893"&gt;
&lt;li class="iw-has-submenu iw-mTrigger" title=""&gt;Im W&amp;ouml;rterbuch speichern
&lt;div class="iw-cm-arrow-right"&gt;&lt;/div&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu9574"&gt;
&lt;li class="iw-mDisable" title=""&gt;Keine Wortliste f&amp;uuml;r Englisch &amp;rarr; Deutsch...
&lt;div class="iw-mOverlay"&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class="t-2" title=""&gt;Eine neue Wortliste erstellen...&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="t-2" title=""&gt;Kopieren&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu9178"&gt;
&lt;li class="iw-has-submenu iw-mTrigger" title=""&gt;Im W&amp;ouml;rterbuch speichern
&lt;div class="iw-cm-arrow-right"&gt;&lt;/div&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu5167"&gt;
&lt;li class="iw-mDisable" title=""&gt;Keine Wortliste f&amp;uuml;r Englisch &amp;rarr; Deutsch...
&lt;div class="iw-mOverlay"&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class="t-3" title=""&gt;Eine neue Wortliste erstellen...&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="t-3" title=""&gt;Kopieren&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu9839"&gt;
&lt;li class="iw-has-submenu iw-mTrigger" title=""&gt;Im W&amp;ouml;rterbuch speichern
&lt;div class="iw-cm-arrow-right"&gt;&lt;/div&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu4274"&gt;
&lt;li class="iw-mDisable" title=""&gt;Keine Wortliste f&amp;uuml;r Englisch &amp;rarr; Deutsch...
&lt;div class="iw-mOverlay"&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class="t-4" title=""&gt;Eine neue Wortliste erstellen...&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="t-4" title=""&gt;Kopieren&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu5619"&gt;
&lt;li class="iw-has-submenu iw-mTrigger" title=""&gt;Im W&amp;ouml;rterbuch speichern
&lt;div class="iw-cm-arrow-right"&gt;&lt;/div&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu3764"&gt;
&lt;li class="iw-mDisable" title=""&gt;Keine Wortliste f&amp;uuml;r Englisch &amp;rarr; Deutsch...
&lt;div class="iw-mOverlay"&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class="t-5" title=""&gt;Eine neue Wortliste erstellen...&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="t-5" title=""&gt;Kopieren&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu6794"&gt;
&lt;li class="iw-has-submenu iw-mTrigger" title=""&gt;Im W&amp;ouml;rterbuch speichern
&lt;div class="iw-cm-arrow-right"&gt;&lt;/div&gt;
&lt;ul class="iw-contextMenu iw-created iw-cm-menu" id="iw-contextMenu1722"&gt;
&lt;li class="iw-mDisable" title=""&gt;Keine Wortliste f&amp;uuml;r Englisch &amp;rarr; Deutsch...
&lt;div class="iw-mOverlay"&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class="t-6" title=""&gt;Eine neue Wortliste erstellen...&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="t-6" title=""&gt;Kopieren&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Android BLE issues on parallel (5+) connection establishments</title><link>https://devzone.nordicsemi.com/thread/319483?ContentTypeID=1</link><pubDate>Sun, 11 Jul 2021 11:22:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0a8ac7c-d22f-47b1-82ec-8a1c2049a2fa</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;According to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63409/ble-multi-link-connection---maximum-devices/258578#258578"&gt;this thread&lt;/a&gt;&amp;nbsp;there is a hard limit of 7 connections in Android, but different phones might have different capabilities, and might be limited to less than 7 connections also.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tested this on different Android phones, or just a single one?&lt;/p&gt;
&lt;p&gt;I can check next week if our Android developers have some practical experience with this, but in general it is rare to develop mobile applications that rely on a high number of connected devices.&amp;nbsp;&lt;br /&gt;Because phones have to schedule many different 2.4GHz based protocols, such as BLE, classic Bluetooth and WiFi, it is usually limited how many connections and how high throughput you get, compared to&amp;nbsp;the performance of an nRF52 device running the SoftDevice.&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></channel></rss>