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

How to get the unicast address of all nodes on the provisioner's side (one device acts as the provisioner, not APP)

Hi Experts,

Recently, I am developing the mesh project based on the latest nRF mesh SDK, everything is running well. But I encountered one issue, that is how can provisioner (one device acts as provisioner) obtain the unicast address of all nodes. I found the dsm_address_get_all function can implement this. However, the address still exists even if one of the nodes has removed from mesh via the node reset command. so my question is as below:

  1. Is it possible to know the node has removed from the mesh network on provisioner's side when calling node_reset t command? node reset status message can be used for this purpose?
  2. can the provisioner remove the unicast address of node after this node removed from the mesh network? also, I tried to use the dsm_devkey_delete function, but I still can get the unicast address information from dsm_address_get_all  function

anyway, my purpose is very simple, the provisioner can get the unicast address of all nodes, and the address list should be updated when some of the nodes removed from the mesh network.

could you give me a hand? thanks, in advance.

Related