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

[NRF MESH] How to send long distance message from node to specific node

Hi all,
I've just implemented light switch proxy example and it's working very well.
Now, I have three NRF52832 boards, and for instance, I have:

  1. A board in the garden 
  2. A board at the door
  3. A board at my bedroom 

Board 1 is out of range so it can't send message to Board 3, so it has to send through Board 2. My provisioner is NRF Mesh app on my tablet. I try to setup Board 1 has a Publish Address(0xCAF1). Board 2 subscribes Board 1 and also has a Publish Address(0xCAF2) and finally Board 3 subscribes Board 2. But when I pressed the button on Board 1 nothing happen in board 3.

How can I setup it for relaying my message this case?

Parents
  • Hi,

    You will need to do that in the proxy code itself. Most likely, the relay functionality has not been enabled. In your case, I would consider making two copies of the code, one for Board 2 that has relaying enabled & the other two have relaying disabled. You could naturally also have relaying enabled on all three, as you have quite a small mesh network. On larger networks, it could become problematic if all nodes relay messages to the other nodes.

    This case should be helpful to enable relaying.

    Kind Regards,

    Bjørn

Reply
  • Hi,

    You will need to do that in the proxy code itself. Most likely, the relay functionality has not been enabled. In your case, I would consider making two copies of the code, one for Board 2 that has relaying enabled & the other two have relaying disabled. You could naturally also have relaying enabled on all three, as you have quite a small mesh network. On larger networks, it could become problematic if all nodes relay messages to the other nodes.

    This case should be helpful to enable relaying.

    Kind Regards,

    Bjørn

Children
No Data
Related