<?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>Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1187/multiple-slave-support-for-nrf-toolbox-proximity-application</link><description>Hi,
I have tested the nRF Toolbox proximity application using nrf51822 evaluation kit and with nexus4 smartphone it is working fine. Now my question is, is it possible to modify the proximity application in nrf toolbox to support multiple slave&amp;#39;s as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Oct 2014 09:09:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1187/multiple-slave-support-for-nrf-toolbox-proximity-application" /><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5539?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2014 09:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fdb78bc-35fc-43fd-b1f2-a3f6a12da0f9</guid><dc:creator>Eric</dc:creator><description>&lt;p&gt;Hi, I tried to follow the specifications of Mr. Hung Bui to connect most Bluetooth devices at the same time but with poor results. have you some sample code or document about this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5538?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2014 17:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f69cf5a6-d207-401b-8820-6fcd19ec2f5b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Balaji: could you open a new question and provide more information on what you need ? You don&amp;#39;t need to open and close a new Gattserver when there are more client connected. They are connected to the same gattserver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5537?ContentTypeID=1</link><pubDate>Sat, 15 Mar 2014 09:45:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c2cdd1e-5020-4870-8216-e0b09e531edc</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;If single gattserver is shared by multiple slaves i connect, when i need to open and close that gattserver in application?  and what i need to do when i connect and disconnect a device (from gattserver&amp;#39;s point)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5545?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2014 13:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c0fb645-f0f2-42b0-8664-1e9eef7bb3c9</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;In my android application service discovery is not working fine. When i try to disconnect and connect the already connected device, i am getting linkloss message first, then auto connect or manual connect works fine. Upto 4 to 5 time i can able to connect and disconnect, but after that keep on getting linkloss when i try to connect again(no service discovery). Can you suggest me to overcome this?  (working with Nexus 4).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5544?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2014 15:47:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d73fb9d-283c-4bdd-8e3b-abe932121b49</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;yes, as you said, i am in the need of separate receivers for each slave. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5543?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2014 15:00:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7466ce0-9950-432b-a862-7c67707d8510</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Balaji,&lt;/p&gt;
&lt;p&gt;Sorry for the late response.&lt;/p&gt;
&lt;p&gt;It should be fine to create 2 service instances. I guess it may be harder to manage multiple device in the main application than the approach to use multiple Gatt client. Also you would need one BroadcastReceiver for each slave.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5541?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2014 14:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a2d6f51-e628-4886-a94f-2edc74e87bf8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Bibin,
I am terribly sorry for a late response. But the notification was missing.&lt;/p&gt;
&lt;p&gt;Unfortunately we don&amp;#39;t have any further documentation or example regarding this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5542?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2014 11:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d9a922e-c19c-4c81-bc45-b51332bdd712</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;We almost modified  the proximity application to support multiple slave&amp;#39;s, but instead of creating bluetoothgatt instance for each device, we created service instance, but it is working fine. Is it fine for multiple device support, or do we need to implement as you said? (tested only with two slave&amp;#39;s)&lt;/p&gt;
&lt;p&gt;Regards,
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5540?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2014 16:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be4cf780-7609-44b2-817a-29beaf3dc338</guid><dc:creator>Bibin</dc:creator><description>&lt;p&gt;Thank You Hung,
I am somewhat new to BLE  (even with android also), So, sorry that i cannot able to get your point. If possible please, provide me a document or link regarding this, or give some more details on your next reply (how the service need to be modified?).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5536?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2014 14:44:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88cef87e-9daa-4133-836f-ca47e1a8a630</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Balaji: Unfortunately at this moment we don&amp;#39;t have an example for that. However, it&amp;#39;s should not be too hard to implement. When you call&lt;/p&gt;
&lt;p&gt;public BluetoothGatt BluetoothDevice.connectGatt (Context context, boolean autoConnect, BluetoothGattCallback callback)&lt;/p&gt;
&lt;p&gt;for each device you connect to, you will receive an instance of BluetoothGatt for that connection, and can assign a separated call back for that connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5535?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2014 09:09:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82c7aa2f-0aea-494b-837b-c288dca40a16</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;If possible please provide some sample code or document regarding this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple slave support for nRF TOOLBOX proximity application</title><link>https://devzone.nordicsemi.com/thread/5534?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2014 17:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4047343-d6ef-4c0a-9640-6bfb514159ef</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Bibin,
I am sorry for the late response.&lt;/p&gt;
&lt;p&gt;Yes it&amp;#39;s possible to handle multiple slaves with a single app. You would need to handle each slave with one BluetoothGatt instance. You would also need specific BluetoothGattCallback for each slave you connect to.
Please note that if you have BluetoothGattServer implemented in your app, all slaves will share same server on the phone.&lt;/p&gt;
&lt;p&gt;Let me know if there is any issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>