<?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>Connecting to device based on RSSI value in mesh</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44345/connecting-to-device-based-on-rssi-value-in-mesh</link><description>Hey 
 I am working on mesh networking (light switch program). I would like to make a connection between client and server without involving provisioner based on the RSSI value. It means that client has to send the data to nearest server by knowing the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Mar 2019 13:30:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44345/connecting-to-device-based-on-rssi-value-in-mesh" /><item><title>RE: Connecting to device based on RSSI value in mesh</title><link>https://devzone.nordicsemi.com/thread/174268?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 13:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95f429c8-a30a-45b0-aa53-4662d67c68aa</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s possible to combine provisioner and server/client in a single program. Actually we did this in our SDK v2.0.1 you can refer to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I mentioned, you can use Heartbeat to get the RSSI.&lt;/p&gt;
&lt;p&gt;Actually if you don&amp;#39;t want to use heart beat, you can use any other message, the RSSI is available on access layer&amp;nbsp; inside&amp;nbsp;access_message_rx_t --&amp;gt;meta_data --&amp;gt;&amp;nbsp;p_core_metadata--&amp;gt;&amp;nbsp;scanner --&amp;gt; rssi&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to device based on RSSI value in mesh</title><link>https://devzone.nordicsemi.com/thread/174125?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 04:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:714cb70d-df68-4b8f-ac00-ba23c90e177a</guid><dc:creator>P Sumanth</dc:creator><description>&lt;p&gt;Hey thanks for your reply, I would like to know can we combine provisioner and server/client in a single program. I want to send the data to nearest server among group of servers (instead of group). The way i want to send is by measuring RSSI of servers. is that possible?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;sumanth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting to device based on RSSI value in mesh</title><link>https://devzone.nordicsemi.com/thread/173996?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2019 13:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4c53c03-62ef-42c8-abaf-c84729eeb325</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sumanth,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please clarify, are you planning to use our Bluetooth Mesh or you want to make your own mesh protocol ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;a connection&amp;quot; ? Do you mean you don&amp;#39;t want to involve the configuration, like assigning subscription and publication address ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If that what you want, you may think of using HeartBeat. Basically, heartbeat is a message to a group address that other nodes also subscribe to. In that heartbeat message you can find how many hops the packet has passed through. It also contain the RSSI value of the last hop. Using that information you can determine if the peer device is close by or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>