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 ?
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?
Do proxy client and proxy server nodes relay mesh packets if m_relay_enable is set true?
Yes
Hi,
Does the addresses of the 2 relay nodes have to be assigned in order by the provisioner so they can correctly relay messages from one server to another or there is no problem having for example relay node with 0x0107 and server node with 0x105?
Hi, I do not believe this will be an issue. I would suggest you to test this out yourself to make sure this works. You may need to lower the output power of the devices to test this properly. You can do this by using the sd_ble_gap_tx_power_set() function or by changing the tx power register directly in the radio_config_config() function: NRF_RADIO->TXPOWER = p_config->tx_power;