@Override
    protected boolean shouldClearCacheWhenDisconnected() {
        // This is to make sure that Android will discover the services as the the mesh node will
        // change the provisioning service to a proxy service.
        final boolean result = !isProvisioningComplete || mNodeReset;
        mNodeReset = false;
        return result;
    }
BluetoothGatt callbacks for connection/disconnection, service discovery, receiving notifications, etc.
app/src/main/java/no/nordicsemi/android/nrfmesh/ble/BleMeshManager.java