<?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 Central devices sharing the load</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101810/multiple-central-devices-sharing-the-load</link><description>I have two devices configured as central devices. They are configured identically except for the hostname so they can both talk to a cloud server.. The goal is to have multiple peripheral devices that periodically wake up and send their data through the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jul 2023 07:54:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101810/multiple-central-devices-sharing-the-load" /><item><title>RE: Multiple Central devices sharing the load</title><link>https://devzone.nordicsemi.com/thread/436655?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 07:54:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c3c0676-4e6c-45e3-b57f-1d6d73133618</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Bob,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, it&amp;#39;s possible to get RSSI from the scan request.&amp;nbsp;&lt;br /&gt;You can take a look here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38045/s132-v6-how-to-get-ble_gap_evt_scan_req_report-event"&gt;S132 V6, How to get BLE_GAP_EVT_SCAN_REQ_REPORT event?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, if the central send a&amp;nbsp;Connect request, it&amp;#39;s not possible for the application on the peripheral to choose to accept it or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may need to implement some mechanism to not accept connect request initially (non-connectable advertising for example) , then start applying a whitelist before you switch to connectable advertising. Or you can do directed advertising, but that requires bonding.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple Central devices sharing the load</title><link>https://devzone.nordicsemi.com/thread/436547?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 15:26:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d12ffc75-e750-4b22-acb0-33fb23bee9d6</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;We always send the scan request from the central. Can the peripheral see the RSSI of this packet?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;BoB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple Central devices sharing the load</title><link>https://devzone.nordicsemi.com/thread/436529?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 14:18:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d98804d-9b25-444b-9dfd-2533ee7e7684</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that the peripheral can not &amp;quot;choose&amp;quot; which central to connect to.&amp;nbsp;&lt;br /&gt;It&amp;#39;s the opposite, the central dictate the connection establishment. &lt;br /&gt;The central scans for advertiser (peripheral) and chooses the advertiser to connect to.&lt;/p&gt;
&lt;p&gt;Unless whitelisting is used, the peripheral will accept any connect request from any central.&amp;nbsp;&lt;br /&gt;It can, however, disconnect the central after the connection has been established.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can try the approach to allow multiple central to connect to, but it would make the application more complex and requires the peripheral to continue advertising after a connection has been established.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple Central devices sharing the load</title><link>https://devzone.nordicsemi.com/thread/436516?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 13:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:242e784b-f714-432c-a4ae-7bad37510968</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;It there a way for the peripheral to retrieve identifying information from the central device and also get an RSSI value before making a connection?&lt;/p&gt;
&lt;p&gt;That would allow the peripheral to choose the one to connect to. What would be the best way of having the peripheral announce its intention to be connected in this case?&lt;/p&gt;
&lt;p&gt;Would establishing multiple connections to central devices and choosing the one to use for a data conduit work better or easier?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;BoB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple Central devices sharing the load</title><link>https://devzone.nordicsemi.com/thread/436401?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 08:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a764140-861a-4bcb-bb8d-9fb6e61bce29</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Bob,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By default the peripheral has no mechanism to choose the central with stronger signal (unless you implement something like that).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The selection is more of &amp;quot;natural selection&amp;quot; , the central which is closer to the peripheral has more chance to capture the advertising packet and more chance that the connect request arrive successfully to the peripheral when signal is strong.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the central with longer distance or weaker RF link budget (can be because wrongly tuned antenna etc) has more chance of corrupted packet, preempted signal.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple Central devices sharing the load</title><link>https://devzone.nordicsemi.com/thread/436296?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2023 14:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca65928e-251b-49e9-80af-c4a4b89dcddd</guid><dc:creator>rbelli</dc:creator><description>&lt;p&gt;We are only filtering on a UUID in the central device. No whitelisting is used on either end.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/101810/multiple-central-devices-sharing-the-load/436217"]Other than that, is there any chance that the &amp;quot;unpreferred&amp;quot; device has weaker signal ? For example it&amp;#39;s too far away to establish a connection ? Or signal was too week to compete with the signal from the preferred central ?&amp;nbsp;[/quote]
&lt;p&gt;We do see that happening and lose some data. We also see them cluster to one when we have two gateways next to each other.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/101810/multiple-central-devices-sharing-the-load/436217"]If you turn off the preferred central would the peripheral connect to the unpreferred one ?&amp;nbsp;[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
&lt;p&gt;What is the easiest way to establish a connection to a stronger central? Can this be done solely in the peripheral?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;BoB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Multiple Central devices sharing the load</title><link>https://devzone.nordicsemi.com/thread/436217?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2023 11:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efa0eb35-8d34-4a95-8b54-05d8d920943d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rbelli,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I can&amp;#39;t think of any other reason why there is a preferred central except for accept list filter (whitelisting). Do you have any&amp;nbsp;accept list filer in the peripheral/central&amp;nbsp; ? This limit the&amp;nbsp;devices that can connect to your peripheral/central.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Other than that, is there any chance that the &amp;quot;unpreferred&amp;quot; device has weaker signal ? For example it&amp;#39;s too far away to establish a connection ? Or signal was too week to compete with the signal from the preferred central ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you turn off the preferred central would the peripheral connect to the unpreferred one ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>