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

Reply
  • 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

Children
Related