<?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>Light switch mesh client to server and vica versa RSSI value</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42545/light-switch-mesh-client-to-server-and-vica-versa-rssi-value</link><description>hello, 
 i am using 3 nRF52840 boards to test mesh. i am using sdk nrf15.2.0 and sdk mesh 3.0.0. 
 my question: 
 1) how can i measure the rssi value from client to server and vice versa (heartbeat) ? 
 2) The rssi value which is printed out is this rssi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Feb 2019 16:40:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42545/light-switch-mesh-client-to-server-and-vica-versa-rssi-value" /><item><title>RE: Light switch mesh client to server and vica versa RSSI value</title><link>https://devzone.nordicsemi.com/thread/170443?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 16:40:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fd5def3-6a1a-45a6-bf62-a07cc5541890</guid><dc:creator>WHui</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;I have found the app_onoff.c in nRF5_Mesh_SDK_v2.2.0 &amp;gt; examples &amp;gt; common &amp;gt; src, however if I made the changes, but I rebuild the project in examples &amp;gt; light_switch &amp;gt; thingy_provisioning_demo_generic_OnOff_Blink &amp;gt; light_switch_proxy_server_nRF52.emproject, the changes saved from the app_onoff.c won&amp;#39;t have effect on the hex file generated by the .emproject file right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;WHui&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Light switch mesh client to server and vica versa RSSI value</title><link>https://devzone.nordicsemi.com/thread/166201?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 11:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4b3c31c-7012-49a9-837e-31298ccf36cc</guid><dc:creator>fahad</dc:creator><description>&lt;p&gt;hi edvin&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank yoou so much it works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Light switch mesh client to server and vica versa RSSI value</title><link>https://devzone.nordicsemi.com/thread/166199?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 11:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddc50eae-7102-46b8-9bb6-cc7c18267848</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It is possible to check the RSSI value, but you should be aware that in Mesh, you don&amp;#39;t necessarily receive the packet directly from the device that sent it. It may be several hops between the source and the destination of the packet. This is how mesh works to extend the range of the network, by retransmitting received packets.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the light_switch\server example you can check the RSSI the following way:&lt;/p&gt;
&lt;p&gt;In app_onoff.c there is already a line in the generic_onoff_state_set_cb() function that is printing &amp;quot;msg:&amp;nbsp; SET&amp;quot; in the log. If you paste this line below that, you will see the rssi of the received message:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;rssi: %d\n&amp;quot;, p_meta-&amp;gt;p_core_metadata-&amp;gt;params.scanner.rssi);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In addition, it may be a good idea to check the address. You can print this the following way:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;msg: SET: %d\n&amp;quot;, p_in-&amp;gt;on_off);
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;rssi: %d\n&amp;quot;, p_meta-&amp;gt;p_core_metadata-&amp;gt;params.scanner.rssi);
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;addr %02x:%02x:%02x:%02x:%02x:%02x\n&amp;quot;, p_meta-&amp;gt;p_core_metadata-&amp;gt;params.scanner.adv_addr.addr[0],
                                                                                p_meta-&amp;gt;p_core_metadata-&amp;gt;params.scanner.adv_addr.addr[1],
                                                                                p_meta-&amp;gt;p_core_metadata-&amp;gt;params.scanner.adv_addr.addr[2],
                                                                                p_meta-&amp;gt;p_core_metadata-&amp;gt;params.scanner.adv_addr.addr[3],
                                                                                p_meta-&amp;gt;p_core_metadata-&amp;gt;params.scanner.adv_addr.addr[4],
                                                                                p_meta-&amp;gt;p_core_metadata-&amp;gt;params.scanner.adv_addr.addr[5]);
&lt;/pre&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: Light switch mesh client to server and vica versa RSSI value</title><link>https://devzone.nordicsemi.com/thread/165907?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 10:09:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f734a6e-b92f-4b26-b392-801ca4c11d48</guid><dc:creator>fahad</dc:creator><description>&lt;p&gt;i got the rssi value of provision from client and server but how can i get rssi from client and server ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>