mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-09-09 17:07:38 +00:00
Updated Troubleshooting (mediawiki)
parent
6b569abce1
commit
d652d343a4
@ -23,6 +23,11 @@ Non USB-to-Serial devices like mass-storage, mouse, GPC receivers, ... and rarel
|
||||
A common issue is wrong baud rate.
|
||||
|
||||
|
||||
== Baud rate <code>12345</code> does not work ==
|
||||
|
||||
Not all drivers / devices support non-standard baud rates. See [[Troubleshooting#Feature Matrix|Feature Matrix]] for details.
|
||||
|
||||
|
||||
== I am using an Arduino Uno, Sparkfun Pro Micro, or other Arduino and <code>if (Serial)</code> doesn't work. ==
|
||||
|
||||
Most Arduinos with CDC driver use the DTR line to determine serial channel readiness. In your Android code, call <code>setDTR(true);</code>
|
||||
@ -106,3 +111,48 @@ Waiting for write completion is typically done with application specific protoco
|
||||
== Does this library work with Ionic/Cordova/Xamarin/App Inventor/... development framework? ==
|
||||
|
||||
If your framework can import Java .jar files, look [[Build-Variants#Jar|here]] for instructions about creating a .jar file.
|
||||
|
||||
|
||||
== Feature Matrix ==
|
||||
|
||||
|
||||
Basic Features are supported by all drivers / devices
|
||||
|
||||
{|
|
||||
! Method / Feature !! Supported
|
||||
|-
|
||||
| <code>open</code>, <code>close</code> || 🟢
|
||||
|-
|
||||
| <code>setParameters</code> || 🟢
|
||||
|-
|
||||
| <code>read</code>, <code>write</code> || 🟢
|
||||
|-
|
||||
| event based read with <code>SerialInputOutputManager</code> || 🟢
|
||||
|}
|
||||
|
||||
Some Features are not supported by all drivers / devices
|
||||
|
||||
{|
|
||||
! Feature !! FTDI !! CH34x !! CP210x !! PL2303 !! CDC
|
||||
|-
|
||||
| <code>setParameters</code> with non-standard baud rates || 🟢 || 🟢 || 🟢 for CP2105 <br> 🔴 for CP2102. fallback to unknown baud rate without exception || 🔴 fallback to 9600 baud without exception || 🟢
|
||||
|-
|
||||
| set/get flow control lines RTS, CTS, DTR, DSR, CD, RI || 🟢 || 🟢 || 🟢 || 🟢 || 🟡 only input lines RTS, DTR
|
||||
|-
|
||||
| <code>purgeHwBuffers</code> || 🟢 || 🔴 || 🟢 || 🟢 || 🟢
|
||||
|-
|
||||
| multi port devices || 🟢 || n.a. || 🟢 ||n.a. || 🟢
|
||||
|-
|
||||
| device specific methods || <code>get/setLatencyTimer</code> || - || - || - || -
|
||||
|}
|
||||
|
||||
|
||||
Some Features are not implemented (yet)
|
||||
|
||||
{|
|
||||
! Feature !! Supported
|
||||
|-
|
||||
| break (send break signal) || 🔴
|
||||
|-
|
||||
| flow control (RTS/CTS or DTS/DTR or XON/XOFF based flow control) || 🔴
|
||||
|}
|
||||
|
Loading…
x
Reference in New Issue
Block a user