mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-11 18:06:17 +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:
parent
dfea06412f
commit
890e543e0c
@ -2,6 +2,7 @@ Current Version (in development)
|
|||||||
* New driver methods: getCD, getCTS, getDSR, getDTR, setDTR, getRI, getRTS,
|
* New driver methods: getCD, getCTS, getDSR, getDTR, setDTR, getRI, getRTS,
|
||||||
setRTS.
|
setRTS.
|
||||||
* Library version is available in `com.hoho.android.usbserial.BuildInfo`.
|
* Library version is available in `com.hoho.android.usbserial.BuildInfo`.
|
||||||
|
* Adds probe support for LUFA CDC device.
|
||||||
|
|
||||||
v0.1.0 (2012-10-12)
|
v0.1.0 (2012-10-12)
|
||||||
* New driver: CdcAcmSerialDriver.
|
* New driver: CdcAcmSerialDriver.
|
||||||
|
@ -254,6 +254,10 @@ public class CdcAcmSerialDriver extends UsbSerialDriver {
|
|||||||
new int[] {
|
new int[] {
|
||||||
UsbId.VAN_OOIJEN_TECH_TEENSYDUINO_SERIAL,
|
UsbId.VAN_OOIJEN_TECH_TEENSYDUINO_SERIAL,
|
||||||
});
|
});
|
||||||
|
supportedDevices.put(Integer.valueOf(UsbId.VENDOR_LUFA),
|
||||||
|
new int[] {
|
||||||
|
UsbId.LUFA_VIRTUAL_SERIAL,
|
||||||
|
});
|
||||||
return supportedDevices;
|
return supportedDevices;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,6 +32,9 @@ public final class UsbId {
|
|||||||
public static final int VENDOR_FTDI = 0x0403;
|
public static final int VENDOR_FTDI = 0x0403;
|
||||||
public static final int FTDI_FT232R = 0x6001;
|
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 VENDOR_ARDUINO = 0x2341;
|
||||||
public static final int ARDUINO_UNO = 0x0001;
|
public static final int ARDUINO_UNO = 0x0001;
|
||||||
public static final int ARDUINO_MEGA_2560 = 0x0010;
|
public static final int ARDUINO_MEGA_2560 = 0x0010;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user