diff --git a/Troubleshooting.mediawiki b/Troubleshooting.mediawiki index b3bf1c7..476cf67 100644 --- a/Troubleshooting.mediawiki +++ b/Troubleshooting.mediawiki @@ -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 12345 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 if (Serial) doesn't work. == Most Arduinos with CDC driver use the DTR line to determine serial channel readiness. In your Android code, call setDTR(true); @@ -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 +|- +| open, close || 🟢 +|- +| setParameters || 🟢 +|- +| read, write || 🟢 +|- +| event based read with SerialInputOutputManager || 🟢 +|} + +Some Features are not supported by all drivers / devices + +{| +! Feature !! FTDI !! CH34x !! CP210x !! PL2303 !! CDC +|- +| setParameters with non-standard baud rates || 🟢 || 🟢 || 🟢 for CP2105
🔴 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 +|- +| purgeHwBuffers || 🟢 || 🔴 || 🟢 || 🟢 || 🟢 +|- +| multi port devices || 🟢 || n.a. || 🟢 ||n.a. || 🟢 +|- +| device specific methods || get/setLatencyTimer || - || - || - || - +|} + + +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) || 🔴 +|}