 
 /// Poll for scanned devices
 internal func PollScannedDevices(_ deviceDescriptor: CInt,
-                                 duration: TimeInterval,
                                  shouldContinueScanning: () -> (Bool),
                                  foundDevice: (Adapter.LowEnergyScannedDevice) -> ()) throws {
     

    public typealias LowEnergyScannedDevice = LowEnergyEvent.AdvertisingReportEventParameter.Report
    
    /// Scan LE devices.
    func lowEnergyScan(duration: TimeInterval = 10,
                       filterDuplicates: Bool = true,
                       parameters: LowEnergyCommand.SetScanParametersParameter = .init(),
                       commandTimeout timeout: Int = 1000,
                       shouldContinueScanning: () -> (Bool),

        
        // poll for scanned devices
        try PollScannedDevices(internalSocket,
                               shouldContinueScanning: shouldContinueScanning,
                               foundDevice: foundDevice)
    }
