mirror of
				https://github.com/mik3y/usb-serial-for-android
				synced 2025-11-04 12:28:17 +00:00 
			
		
		
		
	Destroyed Compatible Serial Devices (markdown)
							parent
							
								
									4cb6d9bbdd
								
							
						
					
					
						commit
						23781f631f
					
				@ -1,9 +0,0 @@
 | 
			
		||||
// Probe for our custom CDC devices, which use VID 0x1234
 | 
			
		||||
// and PIDS 0x0001 and 0x0002.
 | 
			
		||||
ProbeTable customTable = new ProbeTable();
 | 
			
		||||
customTable.addProduct(0x1234, 0x0001, CdcAcmSerialDriver.class);
 | 
			
		||||
customTable.addProduct(0x1234, 0x0002, CdcAcmSerialDriver.class);
 | 
			
		||||
 | 
			
		||||
UsbSerialProber prober = new UsbSerialProber(customTable);
 | 
			
		||||
List<UsbSerialDriver> drivers = prober.findAllDrivers(usbManager);
 | 
			
		||||
// ...
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user