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

How to set & use relay node for sending message (from client to server)

* nRF5 SDK: nRF5_SDK_17.0.0_9d13099

* nRF5 Mesh: nrf5_SDK_for_Mesh_v4.1.0_src

* example: nRF Mesh light example (Client, Server, Provisioner)

Client ------------- Relay node ------------- Relay node ------------- Server

(Server is so far from Client.

The only method that Client can control Server is using two relay node.)

1. Setting

Is there way to set Server as Relay node?

Can I set the server as Relay node if I want to do?

2. Use

How to use the relay node?

Parents
  • Hi.

    At the moment, all our BLE mesh experts are on summer vacation, but I'll do my best to help until they are back.

    After looking through the mesh SDK (v4.2), I found the following define in nrf_mesh_config_core.h:

    #define MESH_FEATURE_RELAY_ENABELED (1)

    If I have understood the code correctly, a node will act as a relay automatically as long as that define is set (= 1).

    Best regards,

    Didrik

  • Thank you for reply, Didrik.

    I checked it and it is already set '1' as you said Disappointed

    If 4 boards are in same place (close place), how can I set them if I want to see the action of relay node?

    I just want it to run basic system of mesh network which are consist of only Client, Server, Relay node...!

    If I can see the basic system of mesh network, other example is okay. Please just let me know... :)

      

Reply
  • Thank you for reply, Didrik.

    I checked it and it is already set '1' as you said Disappointed

    If 4 boards are in same place (close place), how can I set them if I want to see the action of relay node?

    I just want it to run basic system of mesh network which are consist of only Client, Server, Relay node...!

    If I can see the basic system of mesh network, other example is okay. Please just let me know... :)

      

Children
Related