mirror of
				https://github.com/mik3y/usb-serial-for-android
				synced 2025-10-30 18:07:21 +00:00 
			
		
		
		
	coverage for PL2303 variants
This commit is contained in:
		
							parent
							
								
									1661535d6b
								
							
						
					
					
						commit
						12095f6b94
					
				
							
								
								
									
										1
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							| @ -1,5 +1,6 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="ExternalStorageConfigurationManager" enabled="true" /> | ||||
|   <component name="NullableNotNullManager"> | ||||
|     <option name="myDefaultNullable" value="androidx.annotation.Nullable" /> | ||||
|     <option name="myDefaultNotNull" value="androidx.annotation.NonNull" /> | ||||
|  | ||||
							
								
								
									
										10
									
								
								.idea/modules.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										10
									
								
								.idea/modules.xml
									
									
									
										generated
									
									
									
								
							| @ -1,10 +0,0 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="ProjectModuleManager"> | ||||
|     <modules> | ||||
|       <module fileurl="file://$PROJECT_DIR$/.idea/modules/usb-serial-for-android.iml" filepath="$PROJECT_DIR$/.idea/modules/usb-serial-for-android.iml" /> | ||||
|       <module fileurl="file://$PROJECT_DIR$/.idea/modules/usbSerialExamples/usb-serial-for-android.usbSerialExamples.iml" filepath="$PROJECT_DIR$/.idea/modules/usbSerialExamples/usb-serial-for-android.usbSerialExamples.iml" /> | ||||
|       <module fileurl="file://$PROJECT_DIR$/.idea/modules/usbSerialForAndroid/usb-serial-for-android.usbSerialForAndroid.iml" filepath="$PROJECT_DIR$/.idea/modules/usbSerialForAndroid/usb-serial-for-android.usbSerialForAndroid.iml" /> | ||||
|     </modules> | ||||
|   </component> | ||||
| </project> | ||||
| @ -32,7 +32,15 @@ android { | ||||
|             dimension 'device' | ||||
|             testInstrumentationRunnerArguments = ['test_device_driver': 'Ftdi', 'test_device_port': '1'] | ||||
|         } | ||||
|         pl2302 { | ||||
|         pl2303 { | ||||
|             dimension 'device' | ||||
|             testInstrumentationRunnerArguments = ['test_device_driver': 'Prolific'] | ||||
|         } | ||||
|         pl2303t { | ||||
|             dimension 'device' | ||||
|             testInstrumentationRunnerArguments = ['test_device_driver': 'Prolific'] | ||||
|         } | ||||
|         pl2303g { | ||||
|             dimension 'device' | ||||
|             testInstrumentationRunnerArguments = ['test_device_driver': 'Prolific'] | ||||
|         } | ||||
|  | ||||
| @ -359,7 +359,7 @@ public class DeviceTest { | ||||
|             doReadWrite(String.valueOf(baudRate + 1) + " + 1<<29", readWait); | ||||
|         } | ||||
| 
 | ||||
|         // some PL2303... data sheets mention additional baud rates, others don't | ||||
|         // some PL2303... data sheets mention additional standard baud rates, others don't | ||||
|         // they do not work with my devices and linux driver also excludes them | ||||
|         baudRates = new int[]{110, 56000, 256000}; | ||||
|         for(int baudRate : baudRates) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user