<?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>Is there a predictable connection method for multiple central and multiple peripherals?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99041/is-there-a-predictable-connection-method-for-multiple-central-and-multiple-peripherals</link><description>hello, 
 
 I configured it to automatically register using the BLE Name filter. 
 In preparation for the presence of multiple pheripherals, those with strong RSSI were registered first. 
 
 However, an unexpected problem occurred. 
 If there are multiple</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Apr 2023 13:08:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99041/is-there-a-predictable-connection-method-for-multiple-central-and-multiple-peripherals" /><item><title>RE: Is there a predictable connection method for multiple central and multiple peripherals?</title><link>https://devzone.nordicsemi.com/thread/422063?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2023 13:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e01df0ab-70a6-4acd-8c93-50581ccb9fd3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;RSSI is not an accurate measurement of range, you may get some indication that it&amp;#39;s close by, but if there are several devices close by you will not be able to accurately identify which is closest no. You can try to measure RSSI over time, so build confidence it&amp;#39;s the device that is closest.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any easy way to solve this, but a few things to consider:&lt;/p&gt;
&lt;p&gt;- Are you sure you need to dynamically always connect to the device that is closest? What is most common is that the two peers establish a bond, this is a one-time operation, and then later the two peers can re-connect independant of the distance between the two.&lt;/p&gt;
&lt;p&gt;- You can use some kind of user interface, where the central and peripheral will display the same random pattern on some leds, and if you see that it&amp;#39;s the wrong peripheral you can just try to connect to the next peripheral.&lt;/p&gt;
&lt;p&gt;- Using NFC is possible, but then you need a NFC reader in the central, this must be a third party IC, since we only provide NFC tag internally.&lt;/p&gt;
&lt;p&gt;- Look into using distance measurement library:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/others/dm.html#distance-measurement"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/others/dm.html#distance-measurement&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>