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

best practice to unprovision servers in a mesh network

Hi Team

Let's assume, we have a provisioner (client) and several successfully provisioned servers in a mesh network. We now want to remove one of these servers from that network. What would be best practice, to cleanly remove the provisioning data from both server and client node, so that the removed server can get provisioned by another provisioner later?

I'm using SDK for Mesh 1.0.0 at the moment.

Kind regards

Parents Reply
  • Yes, that's the same issue. I solved it server-side by calling:

    nrf_mesh_node_config_clear();
    sd_nvic_SystemReset();

    After that, the server can be provisioned to another or to the same client. The client is not cleaned up, so it leads to a new ID when provisioning again.

    In some seldom cases, this leads to a mesh-assert on the server in nrf_mesh_node_config.c Line 118.

    Do you know why?

    kind regards Gerry

Children
Related