<?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>How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9345/how-to-two-ble-devices-connect-with-one-android-phone-at-same-time</link><description>if the issue can be worked ,how to do that with android source code?
the 2 ble pure devices (not android phone) connect with a ble android phone.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 08 Jul 2017 12:37:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9345/how-to-two-ble-devices-connect-with-one-android-phone-at-same-time" /><item><title>RE: How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/thread/34510?ContentTypeID=1</link><pubDate>Sat, 08 Jul 2017 12:37:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eed42cf2-9cab-4c8c-9035-d460fa3e29ff</guid><dc:creator>runninghorse</dc:creator><description>&lt;p&gt;I want to connect two ble devices to an Android phone at the same time.  I created a BluetoothGatt object and a callback for each device. The two connections were established, but the android phone could not receive the data from any device.  I tested &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Connect"&gt;github.com/.../Android-nRF-Connect&lt;/a&gt;, it worked fine, but its code is not available. I even tried &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Toolbox"&gt;github.com/.../Android-nRF-Toolbox&lt;/a&gt;, but the Proximity Monitor could not find the two devices. Any suggestion? Should i connect in different Service or Thread?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/thread/34509?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2015 11:16:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31f4b193-7544-4087-b038-0e4454121817</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;If I understand the image in your link correctly, you simply want to make an Android app that connects to two (or more) BLE peripherals (for example two watches). As Aleksander writes in his thorough reply the answer is: Yes it is i possible to do, but No we don&amp;#39;t provide or know of any examples. Aleksander is giving you some good tips on how to do it though. If you haven&amp;#39;t seen them already these are all the examples we provide at the moment: &lt;a href="https://github.com/nordicsemiconductor?utf8=%E2%9C%93&amp;amp;query=android"&gt;Nordic&amp;#39;s github&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/thread/34508?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2015 10:50:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d74d7c3c-77af-4475-aa24-4a4117cd30a3</guid><dc:creator>whiteknight</dc:creator><description>&lt;p&gt;Thank your replay.
But My issue is below ,
&lt;a href="https://drive.google.com/file/d/0B1cKGi6s-QMTdUM1MTcwZ3FJZms/view"&gt;drive.google.com/.../view&lt;/a&gt;
It make you clear my requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/thread/34507?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2015 08:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a588355-3706-44e4-8e81-7cfa1dd95ef7</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, Android devices, since Android version 4.3, may connect to more then one Bluetooth Smart device. You may try it with nRF Master Control Panel application; after connecting to the first one select another one, and another one, in the drop down at the top. I&amp;#39;ve tested it against some phones I have and reached a limit of 6 devices on Nexus 5, but connected easily to 8 on a Samsung phone. So the maximum number of simultaneously connected devices depends on the chip vendor.&lt;/p&gt;
&lt;p&gt;From the developer point of view it&amp;#39;s not very hard. You do exactly the same operations, but more than ones. For each device you are connected to you should have a BluetoothGatt object and a callback. You may even use the same callback as you get the gatt object as a parameter.
You may try it with nRF Toolbox application (available on Google Play and GitHub). Each profile allows you right now to connect only to a single device, but in most of them you may go back to the menu, open another profile and connect to a different device. In case of nRF Toolbox there will be a separate service for each connected device, but this is not necessary, as I said before. Profiles that support &amp;#39;background connection&amp;#39; are those where the service is used: UART, CSC, RSC, HTS, PROXIMITY.&lt;/p&gt;
&lt;p&gt;Currently I don&amp;#39;t have any examples of an app that illustrates it better, but we plan to add support for multiple proximity devices in the PROXIMITY profile. This may take some time (few months) however.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/thread/34506?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2015 02:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ef2082d-d91b-42ba-9237-643802b2e5a3</guid><dc:creator>whiteknight</dc:creator><description>&lt;p&gt;Thank your reply,But below link is my issue:
&lt;a href="https://drive.google.com/file/d/0B1cKGi6s-QMTdUM1MTcwZ3FJZms/view"&gt;drive.google.com/.../view&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;please check ,red font text is my problem .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/thread/34505?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2015 08:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0ee34a5-dca0-4e44-aafb-13014709bad5</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I am not sure if I understand your questions, but:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Some newer Android phones can act as
a Bluetooth Low Energy peripheral.&lt;/li&gt;
&lt;li&gt;You can have several Bluetooth Low
Energy peripherals (of any kind)
connected to a central.&lt;/li&gt;
&lt;li&gt;Android
phones can act as a Bluetooth Low
Energy central.&lt;/li&gt;
&lt;li&gt;Are you talking
about a headset like this: &lt;a href="http://www.microsoft.com/en-us/mobile/accessory/wh-930/"&gt;Nokia
Purity&lt;/a&gt;?
Headsets like these does not use
Bluetooth Low Energy.&lt;/li&gt;
&lt;li&gt;There should
not be a problem connecting a headset
using a different Bluetooth version
than Bluetooth Low Energy and a
Bluetooth Low Energy peripheral to an
Android phone.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/thread/34504?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2015 06:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:915b5a2f-e17c-45ee-a037-0e8f0f6955ee</guid><dc:creator>whiteknight</dc:creator><description>&lt;p&gt;the search link that you supply , i even researched for a long period.
without any good solution in result.&lt;/p&gt;
&lt;p&gt;Only  a condition can be implemented. 2 ble Android phone(play as Peripherals )  connect with 1 ble android phone (play as central ).
But the solution is wroing , i want to 2 ble pure headset or watch devices  connect with a ble android phone!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to two ble devices connect with  one android phone at same time?</title><link>https://devzone.nordicsemi.com/thread/34503?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2015 09:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bf9b46f-4b39-4dd5-a246-27f49b74af5a</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi. Yes, that should be possible. I don&amp;#39;t know of any examples though, but a google search gives you a few places to start: &lt;a href="https://www.google.no/webhp?sourceid=chrome-instant&amp;amp;ion=1&amp;amp;espv=2&amp;amp;ie=UTF-8#q=android+bluetooth+low+energy+multiple+connections"&gt;android bluetooth low energy multiple connections&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>