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

Debugging Relay Node operation in Mesh network

Hi All,

I am testing the performance of a Relay Node in a mesh network.However it seems don't work.

I would like to show that the Relay node operation such as Rx and Re-TX message . Where is the location to indicate the operation in the code, I may add __log to debug the operation.

Thanks

Dragon

  • Hi,

    The more repeats, the more time the nodes use for repeating the message, and thus the less time they will be listening for other packets on the network. 100 is a very high value, a reasonable value would be only a few repeats, maybe as many as 5 but usually less.

    Proxy nodes spend some time for BLE connections and advertising. We have tuned the proxy node connection settings such that they should use minimal time away from normal mesh operation, while still providing a good connection for the GATT based device.

    Four seconds sounds like a long time. As you monitor node D3 and do not see any packets relayed there between D1 and D2, I assume the TTL settings for the packets sent are 1. E.g. only the packets that can still be heard directly between D1 and D2 receive at their destination. If those devices are close to the edge of radio range of each other, few packets will arrive successfully. That means you need a lot of repeats from the originator and it will take quite some time to get messages across.

    Typically ACCESS_DEFAULT_TTL (which is the setting for default TTL) is defined in nrf_mesh_config_app.h for each example. This can be overridden by configuration by the provisioner. For your example, TTL should be at least 2.

    Regards,
    Terje

Related