예제 #1
0
        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);
        }
예제 #2
0
 public UsbSerialProber(ProbeTable probeTable)
 {
     _probeTable = probeTable;
 }