Closed mohammadVatandoost closed 5 years ago
when I receive a large file(2MB) from UsbSerial, most of data lost. I think read buffer is too low.
(private static final int BAUD_RATE = 921600. )
I try with serialInputStream and UsbSerialInterface .
@mohammadVatandoost Baud rate is not the culprit here. Current buffer size in async mode is 16kb. Use SerialnputStream to use a custom buffer size
when I receive a large file(2MB) from UsbSerial, most of data lost. I think read buffer is too low.
(private static final int BAUD_RATE = 921600. )
I try with serialInputStream and UsbSerialInterface .