com.hoho.android.usbserial.driver.ProbeTable Java Examples

The following examples show how to use com.hoho.android.usbserial.driver.ProbeTable. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CustomProber.java    From SimpleUsbTerminal with MIT License 4 votes vote down vote up
static UsbSerialProber getCustomProber() {
    ProbeTable customTable = new ProbeTable();
    customTable.addProduct(0x16d0, 0x087e, CdcAcmSerialDriver.class); // e.g. Digispark CDC
    return new UsbSerialProber(customTable);
}
 
Example #2
Source File: CustomProber.java    From usb-serial-for-android with GNU Lesser General Public License v2.1 4 votes vote down vote up
static UsbSerialProber getCustomProber() {
    ProbeTable customTable = new ProbeTable();
    customTable.addProduct(0x16d0, 0x087e, CdcAcmSerialDriver.class); // e.g. Digispark CDC
    return new UsbSerialProber(customTable);
}