private void assignProvisionerAddresses(@NonNull final MeshNetwork network) {
        for (Provisioner provisioner : network.provisioners) {
            for (ProvisionedMeshNode node : network.nodes) {
                if (provisioner.getProvisionerUuid().equalsIgnoreCase(node.getUuid())) {
                    provisioner.assignProvisionerAddress(node.getUnicastAddress());
                    provisioner.setGlobalTtl(node.getTtl());
                }
            }
        }
    }
Returns the next available address based on the nodes/elements in the network

@param nodes provisioned nodes
mesh/src/main/java/no/nordicsemi/android/mesh/MeshNetworkDeserializer.java