felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.8k stars 585 forks source link

Can't read CTS status #265

Closed WallBreakerX closed 5 years ago

WallBreakerX commented 5 years ago

I put ctsCallback function in MainActivity, but no matter how I raise or pull CTS I can't into the callback function.

WallBreakerX commented 5 years ago

CH340

WallBreakerX commented 5 years ago

Sorry I forgot add

serial.setFlowControl(UsbSerialInterface.FLOW_CONTROL_RTS_CTS)