<?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>RSSI MESH example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96029/rssi-mesh-example</link><description>Hello, 
 I am looking for an RSSI example, using the dev-kit nRF52DK. To start off, I will have two dev-kits and measuring the range between the two units. After that I would like to have several units, to test an extended range.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Jan 2023 11:43:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96029/rssi-mesh-example" /><item><title>RE: RSSI MESH example?</title><link>https://devzone.nordicsemi.com/thread/407294?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2023 11:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad1727dc-cf80-4541-bade-1172cc0e1413</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;To add a relay node, or to add the relay feature to your node? To add the relay feature use &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_MESH_RELAY"&gt;&lt;span&gt;CONFIG_BT_MESH_RELAY&lt;/span&gt;&lt;/a&gt;=y. I believe it is added by default to most of our samples though.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI MESH example?</title><link>https://devzone.nordicsemi.com/thread/407050?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2023 10:02:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30e9493e-f3e9-481d-954d-12f92f0b5940</guid><dc:creator>Shahin97</dc:creator><description>&lt;p&gt;I would like to add a relay node to this to extend my range, how would I go about editing the light/light switch example to configure this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI MESH example?</title><link>https://devzone.nordicsemi.com/thread/406637?ContentTypeID=1</link><pubDate>Thu, 26 Jan 2023 12:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e24cf74-c46e-4b08-9762-60a123a0b719</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If your main goal is getting the distance (and not necessarily RSSI), I just wanted to mention that &lt;a href="https://youtu.be/5vZIILTWmW0?t=248"&gt;RSSI is not the best way to get the distance between devices&lt;/a&gt;. If you are using NCS 2.2 you could have a look at our new &lt;a href="https://youtu.be/5vZIILTWmW0?t=248"&gt;distance measurement model instead&lt;/a&gt;, which is using the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/nrf_dm/README.html"&gt;distance toolkit&lt;/a&gt; described in the webinar I linked to above.&lt;/p&gt;
&lt;p&gt;I am not sure about what you meant by your second question though. Are you trying to measure the distance to other nodes by triangulating distances between multiple nodes?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RSSI MESH example?</title><link>https://devzone.nordicsemi.com/thread/406485?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 14:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7743b37a-5420-481e-b797-8d0eb3d8b691</guid><dc:creator>Shahin97</dc:creator><description>&lt;p&gt;First part solved!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have used the example Light + Light switch and have added the following&lt;/p&gt;
&lt;p&gt;in file:&amp;nbsp;&lt;span&gt;&amp;nbsp;app_onoff.c&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;static void &lt;/span&gt;&lt;span&gt;generic_onoff_state_set_cb&lt;/span&gt;(&lt;span&gt;const &lt;/span&gt;&lt;span&gt;generic_onoff_server_t &lt;/span&gt;* p_self&lt;span&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;                                       const &lt;/span&gt;&lt;span&gt;access_message_rx_meta_t &lt;/span&gt;* p_meta&lt;span&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;                                       const &lt;/span&gt;&lt;span&gt;generic_onoff_set_params_t &lt;/span&gt;* p_in&lt;span&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;                                       const &lt;/span&gt;&lt;span&gt;model_transition_t &lt;/span&gt;* p_in_transition&lt;span&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;                                       &lt;/span&gt;&lt;span&gt;generic_onoff_status_params_t &lt;/span&gt;* p_out)&lt;br /&gt;{&lt;br /&gt;    &lt;span&gt;__LOG&lt;/span&gt;(LOG_SRC_APP&lt;span&gt;, &lt;/span&gt;LOG_LEVEL_INFO&lt;span&gt;, &lt;/span&gt;&lt;span&gt;&amp;quot;msg: SET: %d&lt;/span&gt;&lt;span&gt;\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;p_in-&amp;gt;&lt;span&gt;on_off&lt;/span&gt;)&lt;span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;__LOG&lt;/span&gt;(LOG_SRC_APP&lt;span&gt;, &lt;/span&gt;LOG_LEVEL_INFO&lt;span&gt;, &lt;/span&gt;&lt;span&gt;&amp;quot;rssi: %d&lt;/span&gt;&lt;span&gt;\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;p_meta-&amp;gt;&lt;span&gt;p_core_metadata&lt;/span&gt;-&amp;gt;&lt;span&gt;params&lt;/span&gt;.&lt;span&gt;scanner&lt;/span&gt;.&lt;span&gt;rssi&lt;/span&gt;)&lt;span&gt;;&lt;br /&gt;&lt;br /&gt;** Only the last line has been added to this function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>