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

Unable to receive publish from server after unprovision and re-provision the same node

Hello,

I've developed a BLE Mesh Network using the NRF MESH 3.1.0 SDK and the nR5F SDK 15.2.0.

My network has 1 client node and max 63 server nodes: I'm using the generic on-off model to implement a light switch.

I've found this strange behaviour:

If I "un-provision" a server node and then provision the same node with the same address, sometimes the client doesn't receive the server's publish. I think that it's a client issue, because i'm pretty sure that the server is publishing correctly and I'm able to turn on-off the light.

In some cases the client start to receive the server's publish after some minutes, in other cases I need to reboot the client node.

Can someone explain this behaviour? Is it due to the re-assign of the same address to the same node?

Parents Reply
  • Got some feedback on this. 

    After you unprovision the server node, and reprovision it, this will cause sequence number on the server nodes to reset to zeros. Therefore all the messages sent by the server nodes will get filtered by the replay protection mechanism of the client node. This will continue to happen until the server node starts sending messages with a higher sequence number than the one stored in the client's replay list.

    Secondly, your suggestion of clearing of the replay list of the client after re-provisioning the server node is not valid. Because for a node which is provisioned, replay list should not be cleared manually.

    Best regards

Children
Related