public boolean updateNodeName(@NonNull ProvisionedMeshNode node, @NonNull final String name) {
        if (TextUtils.isEmpty(name))
            return false;
        final ProvisionedMeshNode meshNode = getNode(node.getUuid());
        if (meshNode == null)
            return false;
        meshNode.setNodeName(name);
        notifyNodeUpdated(meshNode);
        return true;
    }
Update node name

@param node {@link ProvisionedMeshNode}
@param name Name
@return true if successful and false otherwise
mesh/src/main/java/no/nordicsemi/android/mesh/BaseMeshNetwork.java