mik3y / usb-serial-for-android

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

com.android.usbserial.driver.SerialTimeoutException: Error writing 64 bytes at offset 0 of total 64, rc=-1 #474

Closed WanManito closed 1 year ago

WanManito commented 1 year ago

After about 20 hours of continuous operation, the communication was suddenly interrupted and the following error was sent again: “com.android.usbserial.driver.SerialTimeoutException: Error writing 64 bytes at offset 0 of total 64, rc=-1”,

Serial port chip information is as follows: “prolificSerialDriver_vid=1659&pid=9155”.

When an error occurs, the usb device is connected again and cannot be connected. Finally, the USB device is restored to normal

WanManito commented 1 year ago

Disconnect and plug in the usb device to restore normal

kai-morich commented 1 year ago

to my experience all else is better then prolific chips. please try a different one