             else { throw CentralError.invalidAttribute(characteristic.uuid) }
         
         // GATT request
-        try await client.writeCharacteristic(gattCharacteristic.attribute, data: data, reliableWrites: withResponse)
+        try await client.writeCharacteristic(gattCharacteristic.attribute, data: data, withResponse: withResponse)
     }
     
     public func discoverDescriptors(

//
//  Created by Alsey Coleman Miller on 7/18/18.
//
/*
#if swift(>=5.5) && canImport(BluetoothGATT)
import Foundation
import Bluetooth

                       characteristics: Array(gattService.characteristics.values.map { $0.attribute }))
        
        // GATT request
        let foundDescriptors = try await client.discoverDescriptors(of: gattCharacteristic.attribute, service: service)
        
        // update cache
        cache.insert(foundDescriptors, for: characteristic.id)
