mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.
MIT License
4.72k stars 1.57k forks source link

How can I reduce the delay time when using usbSerialPort.write(request, WRITE_WAIT_MILLIS)? #564

Closed TeH07 closed 4 months ago

TeH07 commented 4 months ago

When I use the command usbSerialPort?.write(message,WRITE_WAIT_MILLIS), there is always a 1-second delay before the data is sent out. I want to send the data immediately without any delay or reduce the delay time. How can I achieve this?