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

About Demonstration and Enable/Disable of Mesh Relay and Proxy operation (by using nRF52840 DK)

Hello, teams!

I'm sorry to bother you.

Now I'm testing mesh function.

I have two questions.

1) Is there good way to show the performance of relay operation?

If 3 boards are close, we don't know that it works as a relay or direct communication.

I already checked RTT or debug terminal of SEGGER, there is no proof about which path client node chose.

2) How to enable/disable the Relay and Proxy function.

In nrf Mesh application, there is a Proxy on/off button.

Does it work well? In my case, it doesn't work.

Is there any way to enable/disable the relay and proxy function in real time?

I think that application is the best.

If it is not possible, could you give me some information about the code which are relative with these functions?

Thank you so much.

Sincerely,

Minsu Kim.

Parents
  • Hi,

    If 3 boards are close, we don't know that it works as a relay or direct communication.

    If you want to know the actual path a message takes from client to server you can take a closer look at the heartbeat functionality, which is part of the Configuration Server Model.

    Quote from the Bluetooth website:

    "Heartbeat messages can be configured to be sent periodically, contain and retain unchanged, the initial TTL set by the heartbeat originator. This allows recipients to determine how many hops it took for the message to arrive and therefore to optimise messages they subsequently address to the heartbeat source node by setting the TTL to a value no higher than it needs to be."

     

    2) How to enable/disable the Relay and Proxy function.

    You can enable/disable the proxy/relay feature as you like, but in our examples on the SDK this feature is enabled by default.
    You can use MESH_FEATURE_RELAY_ENABLED, MESH_FEATURE_LPN_ENABLED and MESH_FEATURE_GATT_PROXY_ENABLED macros to enable or disable the required feature.

    Best regards,

    Marjeris

Reply
  • Hi,

    If 3 boards are close, we don't know that it works as a relay or direct communication.

    If you want to know the actual path a message takes from client to server you can take a closer look at the heartbeat functionality, which is part of the Configuration Server Model.

    Quote from the Bluetooth website:

    "Heartbeat messages can be configured to be sent periodically, contain and retain unchanged, the initial TTL set by the heartbeat originator. This allows recipients to determine how many hops it took for the message to arrive and therefore to optimise messages they subsequently address to the heartbeat source node by setting the TTL to a value no higher than it needs to be."

     

    2) How to enable/disable the Relay and Proxy function.

    You can enable/disable the proxy/relay feature as you like, but in our examples on the SDK this feature is enabled by default.
    You can use MESH_FEATURE_RELAY_ENABLED, MESH_FEATURE_LPN_ENABLED and MESH_FEATURE_GATT_PROXY_ENABLED macros to enable or disable the required feature.

    Best regards,

    Marjeris

Children
Related