mirror of
				https://github.com/mik3y/usb-serial-for-android
				synced 2025-10-30 18:07:21 +00:00 
			
		
		
		
	
						commit
						38527730cd
					
				| @ -25,4 +25,5 @@ | |||||||
|     <usb-device vendor-id="1003" product-id="8260" /> <!-- 0x03EB / 0x2044: Atmel Lufa --> |     <usb-device vendor-id="1003" product-id="8260" /> <!-- 0x03EB / 0x2044: Atmel Lufa --> | ||||||
|     <usb-device vendor-id="7855" product-id="4"    /> <!-- 0x1eaf / 0x0004: Leaflabs Maple --> |     <usb-device vendor-id="7855" product-id="4"    /> <!-- 0x1eaf / 0x0004: Leaflabs Maple --> | ||||||
|     <usb-device vendor-id="3368" product-id="516"  /> <!-- 0x0d28 / 0x0204: ARM mbed --> |     <usb-device vendor-id="3368" product-id="516"  /> <!-- 0x0d28 / 0x0204: ARM mbed --> | ||||||
|  |     <usb-device vendor-id="1155" product-id="22336" /><!-- 0x0483 / 0x5740: ST CDC --> | ||||||
| </resources> | </resources> | ||||||
|  | |||||||
| @ -317,6 +317,10 @@ public class CdcAcmSerialDriver implements UsbSerialDriver { | |||||||
|                 new int[] { |                 new int[] { | ||||||
|                     UsbId.ARM_MBED, |                     UsbId.ARM_MBED, | ||||||
|                 }); |                 }); | ||||||
|  |         supportedDevices.put(UsbId.VENDOR_ST, | ||||||
|  |                 new int[] { | ||||||
|  |                         UsbId.ST_CDC, | ||||||
|  |                 }); | ||||||
|         return supportedDevices; |         return supportedDevices; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -60,6 +60,9 @@ public final class UsbId { | |||||||
|     public static final int VENDOR_ARM = 0x0d28; |     public static final int VENDOR_ARM = 0x0d28; | ||||||
|     public static final int ARM_MBED = 0x0204; |     public static final int ARM_MBED = 0x0204; | ||||||
| 
 | 
 | ||||||
|  |     public static final int VENDOR_ST = 0x0483; | ||||||
|  |     public static final int ST_CDC = 0x5740; | ||||||
|  | 
 | ||||||
|     private UsbId() { |     private UsbId() { | ||||||
|         throw new IllegalAccessError("Non-instantiable class"); |         throw new IllegalAccessError("Non-instantiable class"); | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user