This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Change Relay settings for a node

Hi,

Would it be possible to change this setting (Relay) dynamically, i.e., instead of changing the value of m_relay_enable in the network_init() function and program the node again?

In Mesh Profile it is specified a Config Relay Get (4.3.2.12) and a Config Relay Set (4.3.2.13).

Looking at the functions network_opt_set() and network_opt_get(), it seems to be implemented, but how can we actually use them to configure the node?

Any insights are welcome!

Regards,

Related