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

Multiple nodes acknowledgement problem

Getting acknowledgement only from single node which is 1st connected

  • Hi Dinesh, 

    What is count.occur ? 
    Could you explain a little bit more, for example what would average data missing count of 165 meant ? Maybe you can use for example 5/25 for example, meaning 5 failed out of 25 trials ?

    A flooding Mesh network usually rely on redundancy to keep the network reliable. Meaning there should be overlapping of the coverage of multiple nodes. The more nodes you have the more transmission and more chance that the packet will not be lost. 

    In your case you are testing with only 2 (or 3 devices) with not much over lapping coverage. There will be packet drop if there is any interference.  
    So my suggestion here is:

    - Increase the number of nodes.

    - Increase the retransmission rate. In this case you can increase CORE_TX_REPEAT_RELAY_DEFAULT inside nrf_mesh_config_core.h. By default it's 1 meaning only one transmission as a relay (or proxy node). You can try increase it to 4 to see if the packet drop rate is lower ( i tested here and it's lower).
    But the draw back will be more data traffic in the mesh network. You should only do this when there isn't many node in the same area, otherwise it will cause congestion on the network. 

    - In addition you can increase CORE_TX_REPEAT_ORIGINATOR_DEFAULT as well, it will increase the number of retransmission of the packet originally from the node. 

    - Turn off Proxy role on the node that's not expected to connect to the phone. Not all the nodes needed to connect to the phone, you can turn off Proxy role on these nodes. MESH_FEATURE_GATT_PROXY_ENABLED = 0.

    - Increase TX_POWER as suggested in the last reply. 

    Could you tell a little more about your application ? How many nodes, how large is the space ? How should the phone connected to the network and control the devices ?

Related