<?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>enable disable message relay by mesh node in firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60606/enable-disable-message-relay-by-mesh-node-in-firmware</link><description>Hi to everybody, i&amp;#39;d like to know if there is a way to enable/disable mesh message relying on a node locally by the firmware without using a configuration client or a provisioner. We are working on a system where every node can be configured by a mobile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Mar 2022 15:42:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60606/enable-disable-message-relay-by-mesh-node-in-firmware" /><item><title>RE: enable disable message relay by mesh node in firmware</title><link>https://devzone.nordicsemi.com/thread/356378?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 15:42:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b2887ed-8cd1-409c-8985-bd9aee8b65a4</guid><dc:creator>BlueMike</dc:creator><description>&lt;p&gt;Just for the records: According to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/79943/mesh-relay-enable-disable/333785"&gt;this discussion&lt;/a&gt;, applications should use&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/group__MESH__OPT__CORE.html"&gt;mesh_opt_core_adv_set/get()&lt;/a&gt; rather than &lt;span style="font-family:courier new, courier;"&gt;network_opt_set/get()&lt;/span&gt; to enable/disable the relay feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable disable message relay by mesh node in firmware</title><link>https://devzone.nordicsemi.com/thread/247014?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 09:17:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3219baca-968d-4ea9-923b-6955ca4cb580</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;There shouldn&amp;#39;t be any reasons to reboot the node after enabling the relay feature.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable disable message relay by mesh node in firmware</title><link>https://devzone.nordicsemi.com/thread/246971?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2020 06:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:812c0e7a-910e-4969-9e12-874627f67a6f</guid><dc:creator>Gianluca</dc:creator><description>&lt;p&gt;Dear Joakim, i have found this function for changing the rely mode of the node in the module network.c:&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;uint32_t network_opt_set(nrf_mesh_opt_id_t id, const nrf_mesh_opt_t * p_opt)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;"&gt;calling it with the&amp;nbsp;&lt;span style="background-color:#ffffff;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;nrf_mesh_opt_id_t id&lt;/span&gt; =&amp;nbsp;NRF_MESH_OPT_NET_RELAY_ENABLE, it seems to work (the function returns NRF_SUCCESS). If i also read the new configuration with the function&amp;nbsp;network_opt_get i see that the new configuration seems to be accepted. Do you think it&amp;#39;s better to reboot the node after changing the configuration?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable disable message relay by mesh node in firmware</title><link>https://devzone.nordicsemi.com/thread/246762?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 10:46:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c33410d3-20ff-4e51-bd3f-e6be0f05c36f</guid><dc:creator>Gianluca</dc:creator><description>&lt;p&gt;Hi Joakim, thanks for your answer. The funcion&lt;span style="background-color:#ffffff;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1.5em;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt; &lt;/span&gt;&lt;a style="background-attachment:scroll;background-color:transparent;background-image:none;background-repeat:repeat;background-size:auto;color:#5bd2e2;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:underline;text-indent:0px;text-transform:none;white-space:normal;" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.1.0/group__NRF__MESH__OPT.html#gaf6ddd10d6898b88cdbab1e62d62b79ef"&gt;&lt;span&gt;nrf_mesh_opt_set&lt;/span&gt;&lt;/a&gt; is deprecated, can i use it anyway?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable disable message relay by mesh node in firmware</title><link>https://devzone.nordicsemi.com/thread/246757?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 10:27:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7b95c38-019e-4c58-9933-2bd0b9eff773</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.1.0/group__NRF__MESH__OPT.html#gaf6ddd10d6898b88cdbab1e62d62b79ef"&gt;&lt;span&gt;&lt;span&gt;nrf_mesh_opt_set&lt;/span&gt;()&lt;/span&gt;&lt;/a&gt; will allow you to enable or disable the relay feature. &lt;br /&gt;In the light switch examples, you can find the MESH_FEATURE_RELAY_ENABLED define. If that is set to 1, the relay feature is enabled.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>