mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

TeH07 opened this issue · comments

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?