wh201906 / SerialTest

Data transceiver(monitor)/realtime plotter/shortcut/file transceiver over serial port/Bluetooth/network on Windows/Linux/Android/macOS | 跨平台串口/蓝牙/网络调试助手,带数据收发/实时绘图/快捷发送/文件收发面板,可在PC和Android设备上使用
GNU General Public License v3.0
1.14k stars 219 forks source link

possibility to acquire device on android #76

Open n30f0x opened 3 months ago

n30f0x commented 3 months ago

it looks like there's a way to acquire control over usb serial with android, please have a look

https://github.com/markqvist/Sideband/blob/main/sbapp/patches/HIDDeviceUSB.java

device is acquired with this app, allowing serial connectivity natively

wh201906 commented 3 months ago

There are some fancy USB serial libraries for Android (like this and this) and it's possible to handle the USB serial device within the SerialTest. However the connection class of SerialTest is somewhat messy so I need to refactor it first then add the native USB serial support. Anyway, thanks for your information!