mirror of
https://github.com/mik3y/usb-serial-for-android.git
synced 2026-08-11 16:32:53 +00:00
ST CDC
See https://www.the-sz.com/products/usbid/index.php?v=0483&p=&n=
This commit is contained in:
+4
@@ -333,6 +333,10 @@ public class CdcAcmSerialDriver implements UsbSerialDriver {
|
||||
new int[] {
|
||||
UsbId.ARM_MBED,
|
||||
});
|
||||
supportedDevices.put(UsbId.VENDOR_ST,
|
||||
new int[] {
|
||||
UsbId.ST_CDC,
|
||||
});
|
||||
return supportedDevices;
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +75,9 @@ public final class UsbId {
|
||||
public static final int VENDOR_ARM = 0x0d28;
|
||||
public static final int ARM_MBED = 0x0204;
|
||||
|
||||
public static final int VENDOR_ST = 0x0483;
|
||||
public static final int ST_CDC = 0x5740;
|
||||
|
||||
private UsbId() {
|
||||
throw new IllegalAccessError("Non-instantiable class");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user