<?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>not able to connect 4 devices (2 nrf devices + 2 B24 custom modules)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113673/not-able-to-connect-4-devices-2-nrf-devices-2-b24-custom-modules</link><description>Hi, 
 I am trying to connect 4 devices (2 nrf devices + 2 B24 custom modules). Each of them can get connected independently as single device, but as soon as I start connecting the other devices, they are getting disconnected. 
 Even the NRF devices are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Aug 2024 08:56:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113673/not-able-to-connect-4-devices-2-nrf-devices-2-b24-custom-modules" /><item><title>RE: not able to connect 4 devices (2 nrf devices + 2 B24 custom modules)</title><link>https://devzone.nordicsemi.com/thread/497285?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 08:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1223d9ea-e7e3-46df-86c1-ab4424be5a60</guid><dc:creator>VinayakaKS</dc:creator><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;NRF_BLE_SCAN_SCAN_INTERVAL&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This was the culprit from my side, I had set it to 80 for a speedy connection with the non-nordic connections, and I tried setting it to 120 (Trial and error) worked for me.&lt;/p&gt;
&lt;p&gt;Now I am able to connect to 4 devices and also reconnect them back if disconnected abruptly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to connect 4 devices (2 nrf devices + 2 B24 custom modules)</title><link>https://devzone.nordicsemi.com/thread/497265?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 06:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7357aaf-2345-4bf8-b5d9-7f90036635ce</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;There should be no difference between Nordic and non-Nordic BLE devices, and hence, we don&amp;#39;t have anything showcasing non-nordic peripherals (but we don&amp;#39;t have any Nordic-specific samples either, strictly speaking).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So you have one central and 4 peripherals in your setup, right?&lt;/p&gt;
&lt;p&gt;Is there any pattern in what you are seeing? Any particular device that is always disconnected first? You did say that the Nordic devices are also being disconnected, right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="VinayakaKS"]do we have any examples where I can see multiple non-nordic&amp;nbsp;peripherals getting connected along with nordic peripherals?[/quote]
&lt;p&gt;Although it is not non-nordic specific, you can check out the ble_central\ble_app_multilink_central example for a central that connects to multiple peripherals, and how it handles the connection handles.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What does the logs from the peripherals say? Are they the ones saying &amp;quot;disconnected reason 0x08&amp;quot;? And do you see the same reason on both the peripheral and central?&lt;/p&gt;
&lt;p&gt;Did you write the application for the b24 devices as well, or is it a 3rd party device with pre-written software? (do you have the possibility to control connection parameters on this device as well?)&lt;/p&gt;
&lt;p&gt;And what is your application doing when you see the disconnect message in the log? Are you &amp;quot;just&amp;quot; connected? Or do you send a lot of data at the time?&lt;/p&gt;
&lt;p&gt;And finally, if the logs doesn&amp;#39;t give any hints. Can you please try to capture a sniffer trace of one of the failed connections? For this you can use the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;nRF Sniffer for Bluetooth LE&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to connect 4 devices (2 nrf devices + 2 B24 custom modules)</title><link>https://devzone.nordicsemi.com/thread/497119?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 09:34:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6df53bb-593a-4129-a4d0-24e7def166c8</guid><dc:creator>VinayakaKS</dc:creator><description>&lt;p&gt;I checked with the same parameters set in the peripheral for the Central. But still its having the same problems.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_BLE_SCAN_SCAN_WINDOW                80
#define NRF_BLE_SCAN_SUPERVISION_TIMEOUT        4000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;do we have any examples where I can see multiple non-nordic&amp;nbsp;peripherals getting connected along with nordic peripherals?&amp;nbsp;I want to see how the connection handlers are managed?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Vinayaka KS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: not able to connect 4 devices (2 nrf devices + 2 B24 custom modules)</title><link>https://devzone.nordicsemi.com/thread/496998?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 13:55:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80c36c9e-fb5a-4ee1-b824-e9a15dc8bed3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;On your central, what are these set to?&lt;/p&gt;
&lt;p&gt;NRF_BLE_SCAN_SCAN_WINDOW&lt;br /&gt;NRF_BLE_SCAN_SUPERVISION_TIMEOUT&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What you can try is to increase the connection interval settings on the central? Try setting the max to the same as your peripheral:&lt;/p&gt;
&lt;p&gt;NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL 75&lt;/p&gt;
&lt;p&gt;And see if that helps. If not, what does the logs say?&lt;/p&gt;
&lt;p&gt;I see that the disconnect reason is 0x08, which is BLE_HCI_CONNECTION_TIMEOUT. So either, they are out of range, or some of the devices has too much to do in too little time. Increasing the connection interval to e.g. 75 may reduce the load, leaving more time to maintain more connections.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>