felHR85 / UsbSerial

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

Output is truncated when the write length is long #179

Closed changwoo closed 5 years ago

changwoo commented 5 years ago

How to reproduce:

  1. Use write() or syncWrite() with long (> 512) buffer.
  2. The output result is always truncated to some limit.

It seems that the write size is limited to the USB bulk transfer limits.

changwoo commented 5 years ago

I'm not sure yet. I'll file an issue again when it gets more clear.