<?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>Indication loss when multiple peripheral devices are connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116330/indication-loss-when-multiple-peripheral-devices-are-connected</link><description>Hi, 
 First of all, let me confess I am new to NRF and BLE environment. 
 I am working on a project where the mobile device and NRF 52840 acts as a BLE peripheral and one NRF 52840 device acts as a central which monitors the distance of all the connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Dec 2024 09:55:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116330/indication-loss-when-multiple-peripheral-devices-are-connected" /><item><title>RE: Indication loss when multiple peripheral devices are connected</title><link>https://devzone.nordicsemi.com/thread/514187?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 09:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3d53438-52ef-4e30-ad79-543189c9d70e</guid><dc:creator>Jithin A</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. I was working on other high priority project.&lt;/p&gt;
&lt;p&gt;The above suggestion worked well for us. We now changed the architecture such that the central device monitors all its connected peripherals subscription param without overwriting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Indication loss when multiple peripheral devices are connected</title><link>https://devzone.nordicsemi.com/thread/511143?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2024 15:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90a49e14-15c9-4d4e-99c6-334894a85350</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Unfortunately we do not have an example to directly show that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Indication loss when multiple peripheral devices are connected</title><link>https://devzone.nordicsemi.com/thread/511003?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2024 06:52:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02a24c4b-c09f-444a-95dd-4650cc5bfca1</guid><dc:creator>Jithin A</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;Thank you for the response, will review the subscription handle as you said and update.&lt;/p&gt;
&lt;p&gt;Is there any example reference I can refer to which support multi device subscription and handling, if so, can you please share the link or document which can help me for even better understanding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Indication loss when multiple peripheral devices are connected</title><link>https://devzone.nordicsemi.com/thread/510804?ContentTypeID=1</link><pubDate>Sun, 17 Nov 2024 11:03:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bfa9f57-0a9b-40f6-abcf-5c3e43df3298</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;There seems to be&amp;nbsp;a&amp;nbsp;likely issue related to the management of CCCD (Client Characteristic Configuration Descriptor) settings or the BLE stack&amp;#39;s event handling in your application.&lt;/p&gt;
&lt;p&gt;Looked at your code briefly, I think there is a flaw in your connection management as CCCD management is not done per connection.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Initial connection, First device connects and enables indications through a CCCD write.&lt;/li&gt;
&lt;li&gt;The second device connects. If the application overwrites the CCCD or doesn&amp;#39;t enable it for the first device, the first device is unsubscribed.&lt;/li&gt;
&lt;li&gt;As a result, bt_gatt_indicate(NULL, &amp;amp;ind_params) now sends indications only to the second device.&lt;/li&gt;
&lt;li&gt;The central receives indications only from the most recently connected device because it is the only one with an enabled CCCD.&lt;/li&gt;
&lt;li&gt;CCCD writes are not handled per connection.&lt;/li&gt;
&lt;li&gt;The application may be overwriting CCCD settings globally or failing to re-enable them for all active connections.&lt;/li&gt;
&lt;li&gt;Using NULL as the connection handle for bt_gatt_indicate() sends indications to all subscribed devices. If only the most recent device has its CCCD enabled, only it will receive indications.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>