AndroWish supports a number of USB to serial converters through the usbserial command which wraps that connectivity into a Tcl channel to be operated with the usual read, puts, and fconfigure commands.
Currently these adapters are supported
|Vendor ID||Product ID||Remarks|
|0x2341||0x0010||Arduino Mega 2560|
|0x2341||0x003b||Arduino serial adapter|
|0x2341||0x003f||Arduino Mega ADK|
|0x2341||0x0042||Arduino Mega 2560 R3|
|0x2341||0x0043||Arduino UNO R3|
|0x2341||0x0044||Arduino Mega ADK R3|
Jorge - 2016-12-10 22:21:57
when executing usbserial command, it returns an empty string, any idea why? (I had an arduino connected throuh USB-OTG adapter)
chw - 2016-12-11
please first check out if your Android device detects a normal USB to serial adapter. If that succeeds, please find out the product and vendor identifiers of your Arduino for further analysis and post a ticket on http://www.androwish.org
Jorge - 2016-12-11 16:35:14
JM when using a normal usb-serial converter (based on PL-2303 XA/HXA chip), my android tablet responds with an empty string when executing usbserial command from Androwish
chw this is unfortunate. If your tablet is Android > 4.0 it should work, however one of my tablets with Android 4.2 doesn't support usbserial either, although memory sticks work. Seems, that the manufacturer left something essential of the USB stack out.
JM thanks for checking, I will later try with a different tablet, I am really curious about the potential of the android-arduino pair.