felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.81k stars 590 forks source link

Is there a way to poll number of bytes in read buffer? #191

Open afalkenhahn opened 5 years ago

afalkenhahn commented 5 years ago

Does your driver have a function to query the number of bytes currently in the read buffer or is this not possible?

Also, is there a function to clear everything that's currently in the read buffer? (flush)

Thanks!