1
0
mirror of https://github.com/mik3y/usb-serial-for-android.git synced 2026-08-11 16:32:53 +00:00

Added support for LUFA Virtual Serial Example

Closes issue #8.

Signed-off-by: mike wakerly <opensource@hoho.com>
This commit is contained in:
Elliot Smith
2013-01-15 12:03:48 +10:00
committed by mike wakerly
parent dfea06412f
commit 890e543e0c
3 changed files with 8 additions and 0 deletions
@@ -254,6 +254,10 @@ public class CdcAcmSerialDriver extends UsbSerialDriver {
new int[] {
UsbId.VAN_OOIJEN_TECH_TEENSYDUINO_SERIAL,
});
supportedDevices.put(Integer.valueOf(UsbId.VENDOR_LUFA),
new int[] {
UsbId.LUFA_VIRTUAL_SERIAL,
});
return supportedDevices;
}
@@ -32,6 +32,9 @@ public final class UsbId {
public static final int VENDOR_FTDI = 0x0403;
public static final int FTDI_FT232R = 0x6001;
public static final int VENDOR_LUFA = 0x03EB;
public static final int LUFA_VIRTUAL_SERIAL = 0x2044;
public static final int VENDOR_ARDUINO = 0x2341;
public static final int ARDUINO_UNO = 0x0001;
public static final int ARDUINO_MEGA_2560 = 0x0010;