kopia lustrzana https://github.com/mik3y/usb-serial-for-android
Added support for LUFA Virtual Serial Example
Closes issue #8. Signed-off-by: mike wakerly <opensource@hoho.com>pull/36/head
rodzic
dfea06412f
commit
890e543e0c
|
@ -2,6 +2,7 @@ Current Version (in development)
|
|||
* New driver methods: getCD, getCTS, getDSR, getDTR, setDTR, getRI, getRTS,
|
||||
setRTS.
|
||||
* Library version is available in `com.hoho.android.usbserial.BuildInfo`.
|
||||
* Adds probe support for LUFA CDC device.
|
||||
|
||||
v0.1.0 (2012-10-12)
|
||||
* New driver: CdcAcmSerialDriver.
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue