<?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>Relay of MESH SDK V2.2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38530/relay-of-mesh-sdk-v2-2-0</link><description>Hi, 
 When I go through the code of light switch example, I am confused about relay functionality. 
 Compare with the v2.1.1, I can find the m_relay_enable in network.c but in v2.2.0 couldn&amp;#39;t. So in this version, how could I enable and disable the relay</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Feb 2019 11:57:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38530/relay-of-mesh-sdk-v2-2-0" /><item><title>RE: Relay of MESH SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/170853?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2019 11:57:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18b33287-78b3-4a46-bd75-b5283b9a3d45</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Yes, relay should be enabled by default. See the answer I posted &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43543/how-to-relay-message-from-one-node-to-other-in-mesh-network"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Relay of MESH SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/170712?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 17:06:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64833ea3-100a-4958-9d7b-6b1d8c458f73</guid><dc:creator>Hit</dc:creator><description>&lt;p&gt;the change suggested is by default there, so for relay the message, it will as given default?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Relay of MESH SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/166861?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 14:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:960548e6-dc03-4e8e-a901-48891b865482</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;It won&amp;#39;t work to put a log message where you have put it. What if you try to&amp;nbsp;check the relay state of the p_pdu-&amp;gt;relay_state function instead after e.g. this line in the handle_config_relay_set() in config_server.c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;relay_state.enabled = (p_pdu-&amp;gt;relay_state == CONFIG_RELAY_STATE_SUPPORTED_ENABLED);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Relay of MESH SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/166431?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 10:05:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cda9e9f-2714-4190-947d-cc1516fb6d58</guid><dc:creator>Hust</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I checked the function and it looks exactly like what you stated above, however, is there any way to check by using log that the node is relaying? I set a log function to the function you meationed above like this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    const config_server_evt_t evt = {
        .type = CONFIG_SERVER_EVT_RELAY_SET,
        .params.relay_set.enabled = (p_pdu-&amp;gt;relay_state == CONFIG_RELAY_STATE_SUPPORTED_ENABLED),
        .params.relay_set.retransmit_count = p_pdu-&amp;gt;relay_retransmit_count,
        .params.relay_set.interval_steps = p_pdu-&amp;gt;relay_retransmit_interval_steps
    };
    __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;config_server_evt_t relay = %d\n&amp;quot;, evt.params.relay_set.enabled);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But nothing appear in the log viewer. I dont know why.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Relay of MESH SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/149409?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 11:32:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59b6d7b9-e4b6-4812-ac3a-b6ff483ec760</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Take a look at the handle_config_relay_set() function. The bool enabled is set here: .params.relay_set.enabled = (p_pdu-&amp;gt;relay_state == CONFIG_RELAY_STATE_SUPPORTED_ENABLED)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Relay of MESH SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/149136?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 02:59:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fd39891-a12f-45b9-a6d0-71dc63cae037</guid><dc:creator>sophieyellow</dc:creator><description>&lt;p&gt;When I trace through the code, I still don&amp;#39;t understand that where I should modify the code or what function should be called.&lt;/p&gt;
&lt;p&gt;Sorry I am a beginner to this SDK, please help. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Relay of MESH SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/148788?ContentTypeID=1</link><pubDate>Fri, 14 Sep 2018 11:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac739548-9686-4f15-b15c-3ca03cbbcf9f</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38400/how-the-example-proxy_server-in-mesh-sdk-2-2-0-to-open-the-relay-funcation"&gt;This devzone case&lt;/a&gt; should be helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>