<?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>Trouble with non-concurrent multiple peers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29644/trouble-with-non-concurrent-multiple-peers</link><description>Using an nRF52832 with SDK 14.0.0, S132 SoftDevice 
 We are able to connect to the device with an iOS/Android phone just fine. 
 Upon disconnecting, a second phone is not able to connect until the nRF52 device is reset. 
 We would like only one device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jan 2018 19:51:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29644/trouble-with-non-concurrent-multiple-peers" /><item><title>RE: Trouble with non-concurrent multiple peers</title><link>https://devzone.nordicsemi.com/thread/117738?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 19:51:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f2681ea-6ec5-4ad0-a66f-17e466eb5396</guid><dc:creator>operator</dc:creator><description>&lt;p&gt;That is worth keeping in mind, thanks Aleksander.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble with non-concurrent multiple peers</title><link>https://devzone.nordicsemi.com/thread/117737?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 19:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cab3e448-6b86-4aea-ad04-8c119d56b638</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;My point was, that if you have nRF Connect running in background while you test your app, and disconnect from the device in your app, you&amp;#39;ll get onConnectionStateChanged with State disconnected, but nRF Connect may keep the physical connection if it wasn&amp;#39;t excited with back button and had gatt server enabled. Then your device wouldn&amp;#39;t advertise again, as it&amp;#39;s still connected to this Android device. If you are sure that nRF Connect is properly closed (there is no notification saying that nRF Connect&amp;#39;s service is running), and you will have this problem, check if you disconnect from all BluetoothGatt objects (in case you connected multiple times to the same device). I can&amp;#39;t find any other reason why wouldn&amp;#39;t it works with your app and would with nRF Connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble with non-concurrent multiple peers</title><link>https://devzone.nordicsemi.com/thread/117736?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 18:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d9ac5bc-6c49-4e70-bd82-769116a2ef0e</guid><dc:creator>operator</dc:creator><description>&lt;p&gt;Hello Aleksander. This is good to know but the issue is not with nRF Connect, which works just fine.&lt;/p&gt;
&lt;p&gt;The issue is what might cause this behavior in a custom iOS/Android application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble with non-concurrent multiple peers</title><link>https://devzone.nordicsemi.com/thread/117735?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 12:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79f16694-62b7-4658-9628-c0387ebd131e</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Make sure you don&amp;#39;t have nRF Connect running in ht background (there is no nRF Connect notification) when you connect in your app. nRF Connect, when you have GATT Server enabled in it, may overtake the connection so when you disconnect in your app the physical connection is still open as nRF Connect is still connected. To avoid this close nRF Connect with BACK button, not just switch to another app. You may also disable the GATT server there (drop down menu and DISABLE icon). If you have it open, and you disconnect from your app, switch back to nRF Connect and disconnect there, then you should be able to connect on another phone as the physical connection will be closed (unless some other app also is connected like nRF Connect, not likely). This issue will no longer bother you on Android 8.1+, as then the background connection is done as opportunistic (like a weak reference).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble with non-concurrent multiple peers</title><link>https://devzone.nordicsemi.com/thread/117734?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 01:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e968c3de-e14e-4ce0-95aa-f0167e1cc755</guid><dc:creator>operator</dc:creator><description>&lt;p&gt;Hi Petter and thanks for your response.&lt;/p&gt;
&lt;p&gt;It appears that this issue may be related to our custom app as nRF Connect is able to connect on one phone, read and write Characteristics, then disconnect, then another phone is able to connect with nRF Connect and do the same, etc., etc., back and forth, no problem.&lt;/p&gt;
&lt;p&gt;Is there anything on the iOS/Android side of things when communicating with nRF52 devices that might account for this inability to connect sequentially?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble with non-concurrent multiple peers</title><link>https://devzone.nordicsemi.com/thread/117739?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 09:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88651a7b-f2dd-4bdb-b1e4-a68d6c6bc3ac</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;As long as you are not advertising with a whitelist any device should be able to connect. Are you advertising with a whitelist? Is the second phone able to see the advertisements after you have disconnected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>