I need to configure 2 devices as relay nodes in order to relay messages from the client node to the server node
How can i implement this in the light switch example ?
to clear things up, what i want to do is to enable relay feature in 2 devices acting as relay nodes to retransmit messages from client node to server node in the light switch example
Do i have to flash server's firmware into these relay nodes?
It seems that the relay functionality is turned on automatically on the server FW. If you take a look at the light switch server example on the latest Mesh SDK, you can see that the m_relay_enable bool is set true in the network_init() function. To test that the servers are relaying the messages, you could lower the TX power of the devices (explained in this link) & then make the last node outside of the range of the client node & put the two relay nodes in between.
Also there is this link ? is it useful in my case?
Could be useful yes
Do proxy client and proxy server nodes relay mesh packets if m_relay_enable is set true?