<?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>Can one gatt client connect to two gatt servers</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50945/can-one-gatt-client-connect-to-two-gatt-servers</link><description>I am trying to use nRF9160 as ble gateway for uploading data from two nRF52832. I am wondering is it possible? can I connect nRF9160 (one gatt client) to two nRF52832 (two gatt servers)? 
 if it is can you point me to the right direction?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Aug 2019 18:38:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50945/can-one-gatt-client-connect-to-two-gatt-servers" /><item><title>RE: Can one gatt client connect to two gatt servers</title><link>https://devzone.nordicsemi.com/thread/204160?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 18:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46543b2e-b5db-4cec-a88f-df400cb5ff30</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am not too familiar with the zephyr bluetooth libraries, and was not able to figure out what that error means.&lt;/p&gt;
&lt;p&gt;Could you try asking for help here:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For reporting issues, see&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues"&gt;Zephyr GitHub repository issues&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;For asking questions or providing feedback, see&amp;nbsp;&lt;a href="https://lists.zephyrproject.org/g/main"&gt;Zephyr mailing lists&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;For interacting with users and developers directly, use the #zephyrproject channel on freenode.net.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can one gatt client connect to two gatt servers</title><link>https://devzone.nordicsemi.com/thread/204130?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 14:49:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c55ee147-74b5-4e0d-a094-6b29d44de929</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;bt_gatt_subscribe() and the error is -120&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can one gatt client connect to two gatt servers</title><link>https://devzone.nordicsemi.com/thread/204118?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 14:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7dd0068-8e40-4ce2-a2d7-0df27a16fb83</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;What error do you receive and what function is returning it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can one gatt client connect to two gatt servers</title><link>https://devzone.nordicsemi.com/thread/204024?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 10:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:381e7484-9dff-46fa-8868-a9d18e4adce8</guid><dc:creator>Marshed</dc:creator><description>&lt;p&gt;at&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_multilink.html"&gt;BLE Multilink example&lt;/a&gt;, it seems straight forward. But when I try to implement the same thing with nRF9160 ble gateway, I receive an error when subscribing to the gatt of the second server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;to be clear this is what I am doing&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Connect central with first slave.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Subscribe central (gatt client) to the first slave (gatt server)&lt;/p&gt;
&lt;p&gt;3. Connect central with the second slave while maintaining the connection with the first.&lt;/p&gt;
&lt;p&gt;4. Subscribe&amp;nbsp; central (gatt client) to the second slave (gatt server)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;it is on step 4 where it fails. Can you assist?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can one gatt client connect to two gatt servers</title><link>https://devzone.nordicsemi.com/thread/203920?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2019 23:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2c1d9a4-b780-4c91-ae3e-168634ed5950</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;This should be possible. Take a look at the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fble_sdk_app_multilink.html"&gt;BLE Multilink example&lt;/a&gt;. However, you can only have&lt;span&gt;&amp;nbsp;one instance of a server on each Bluetooth device (see Petters answer &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29801/one-peripheral-many-centrals"&gt;here&lt;/a&gt;). which means that each device will hold the exact same gatt table with the same attribute handles.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>