A simple Android app used to test the UART serial communication of the Qualcomm 410 board used in FingerReader.
Ensure Android device contains root access. Supports Android devices >= API level 21 (Lollipop)
The UART0 port of the Variscite Carrier board can be used to assess functionality. Please check out the product page and schematics for details.
The app creates a feedback loop to test the functionality of the UART0 serial device(i.e. what is written gets read back). Tie the Tx and Rx connections of the UART0 together to enable this.
Access to serial port(from Windows):
adb shell su
cd /dev/ttyHS4
To write from serial port:
echo message > /dev/ttyHS4
To read from serial port:
read X < ttyHS4
echo $X
- android-serialport-api - API to connect, read and write data through serial ports.
- serialport-api-sourcecode - Source code of the Serialport-API
- Usb-serial-for-android - Android USB host serial driver library (functionality implemented but never used).