public static ProbeTable GetDefaultProbeTable() { ProbeTable probeTable = new ProbeTable(); probeTable.AddDriver(CdcAcmSerialDriver.GetSupportedDevices(), device => new CdcAcmSerialDriver(device)); probeTable.AddDriver(FtdiSerialDriver.GetSupportedDevices(), device => new FtdiSerialDriver(device)); probeTable.AddDriver(HidSerialDriver.GetSupportedDevices(), device => new HidSerialDriver(device)); probeTable.AddDriver(ProlificSerialDriver.GetSupportedDevices(), device => new ProlificSerialDriver(device)); return(probeTable); }
public UsbSerialProber(ProbeTable probeTable) { _probeTable = probeTable; }