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

When I change a node of mesh, devices stop communicate with new node till restart of device

I am using  NRF52840 in Mesh (SDK 4.1.0), I am facing this strange issue, one of my node (have client+server both) is got damaged, I replaced this with new NRF52840, then I provisoned and give same node number as of damaged node. But After that this node sends data, but none of other receive it(check with j-link RTT viewer), then I restart one of other node, and this starts communicate to new node, then I restarts other 2 devices, and same they also able to communicate with them.

According to Mesh protocol, if I replacing of node is easy and as I know such type of issue may not have to generate.

Please guide me what happens wrong here.

Thank You

Bivay





  • Hi Bivay, 

    Giving the replaced node with the same node address as the broken one might not be the best idea. I don't think replacing a node is described in the Mesh spec that way. You can remove a node and add a new node into the network with the new address, not to re-use the previous address. 
    What went wrong here is that the new node may not have the same sequence number of IV index as other node when you provisioning it to the network. Packets with old sequence number will be ignored by the other nodes. And I think when you reset the node it will start accepting the new sequence number. So it's better to use new address and avoid using unicast address in your network, use the group address instead. 

Related