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

NRF52840 Mesh : Device communicates not communicate if they are not in direct range.

Dear,

I am struggle a problem in mesh communication.

Mesh SDK 4.1.0

I used dimmer example.

Two nodes can communicate and work perfectly fine, only if they are in communication range. if they are not in communication range, I put a 3 rd not in between them. but communication doesn't happen. I confirms that all 3 nodes works perfect, only if  in direct communication range.

Changes I done :

I want to use phy coded to get longer range. changed parameter according to this link. replied of Hung Bui.

Please support me in this.

Thank You

Bivay



  • Hi Brevy, 
    Could you double check if MESH_FEATURE_RELAY_ENABLED is set to 1 in your code ? 

    Could you try to test using the light switch example , I don't think it would be much different to the dimming example but it worth to try. 

    What was your "direct communication range" ? When you put the 3rd node in between 2 nodes, they are in directed communication range ? 

    To check if the note actually doing relay or not you can do this to enable logging for the NETWORK layer : 

    __LOG_INIT(LOG_SRC_APP | LOG_SRC_BEARER|LOG_SRC_NETWORK, LOG_LEVEL_DBG1, LOG_CALLBACK_DEFAULT);

    When checking the log you can find when the node receives a mesh packet (RX) and when it retransmit a packet (TX).

  • Thanks for support. I will try your suggestions.

Related