         }
         
         // GATT request
-        try await clientCharacteristicConfiguration(
+        try await client.clientCharacteristicConfiguration(
             notification: notify,
             indication: indicate,
             for: gattCharacteristic.attribute,
             descriptors: descriptors
         )
     }
-    
-    
 }
 
 @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)

    func readCharacteristic(_ characteristic: Characteristic) async throws -> Data {
        return try await withUnsafeThrowingContinuation { [weak self] continuation in
            guard let self = self else { return }
            self.readCharacteristic(characteristic) { clientResponse in
                continuation.resume(with: clientResponse)
            }
        }
    }

    ) async throws -> [Characteristic] {
        return try await withUnsafeThrowingContinuation { [weak self] continuation in
            guard let self = self else { return }
            self.discoverAllCharacteristics(of: service) {
                continuation.resume(with: $0)
            }
        }
    }
