I am trying to use dsm_local_unicast_addresses_get() to store the address of each node, however it seems that when the board is restarted the value is lost, and node_address.start_address becomes 0x0000 (NRF_MESH_ADDR_UNASSIGNED). It is set here:
static void provisioning_complete_cb(void)
{
...
dsm_local_unicast_addresses_get(&node_address);
...
}
Is it possible to keep node_address even after a restart? I have made it a global variable.