From 71528fc0df498da32a6115405169155f5edf8e74 Mon Sep 17 00:00:00 2001 From: kai-morich Date: Fri, 8 Aug 2025 16:01:22 +0200 Subject: [PATCH] CDC setDTR() --- FAQ.mediawiki | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/FAQ.mediawiki b/FAQ.mediawiki index e49d4d3..b2bfb41 100644 --- a/FAQ.mediawiki +++ b/FAQ.mediawiki @@ -18,15 +18,19 @@ Check with an App like ''Serial Example'' in this project, if your device is sho For an incomplete list of older Android devices with known issues look [[Compatible-Android-Devices|here]]. - == My USB device is recognized, but no driver is detected == -The library includes a list of USB vendor and device ID's (VID/PID) that are typically used by the supported chips. In case of unusual ID's, use a [https://github.com/mik3y/usb-serial-for-android#probing-for-unrecognized-devices Custom Prober] or specify a fixed driver. +CDC-ACM devices are detected by by USB interface types. For other devices the library includes a list of USB vendor and device ID's (VID/PID) that are typically used. In case of unusual ID's, use a [https://github.com/mik3y/usb-serial-for-android#probing-for-unrecognized-devices Custom Prober] or specify a fixed driver. Non USB-to-Serial devices like mass-storage, mouse, GPC receivers, ... and rarely used USB-to-Serial chips including Hoitek HE2325U and FTDI FT312D are not supported. +== My device is connected, but I receive no data == -== My device is connected, but I receive no / wrong data == +A common issue is wrong baud rate. + +For CDC-ACM devices try setting DTR, see [[FAQ#user-content-I_am_using_an_Arduino_Uno_Sparkfun_Pro_Micro_or_other_Arduino_but_codeSerialwritecode_does_not_send_data|other]] FAQ entry. + +== My device is connected, but I receive wrong data == A common issue is wrong baud rate. @@ -43,7 +47,7 @@ Not all drivers / devices support non-standard baud rates. See [[FAQ#Feature Mat == I am using an Arduino Uno, Sparkfun Pro Micro, or other Arduino but Serial.write() does not send data == -Most Arduinos with CDC-ACM driver use the DTR line to determine serial channel readiness. In your Android code, call setDTR(true); +Most Arduinos with CDC-ACM driver use the DTR line to determine serial channel readiness. In your Android code, call setDTR(true); == Can my Android device be powered by the external device? ==