1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-11-04 12:28:17 +00:00

Destroyed Compatible Serial Devices (markdown)

kai-morich 2024-05-01 21:17:30 +02:00
parent 4cb6d9bbdd
commit 23781f631f

@ -1,9 +0,0 @@
// Probe for our custom CDC devices, which use VID 0x1234
// and PIDS 0x0001 and 0x0002.
ProbeTable customTable = new ProbeTable();
customTable.addProduct(0x1234, 0x0001, CdcAcmSerialDriver.class);
customTable.addProduct(0x1234, 0x0002, CdcAcmSerialDriver.class);
UsbSerialProber prober = new UsbSerialProber(customTable);
List<UsbSerialDriver> drivers = prober.findAllDrivers(usbManager);
// ...