felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.78k stars 581 forks source link

Write Thread and Read Thread Stops at any point of time #362

Open dd-technologies opened 1 year ago

dd-technologies commented 1 year ago

Write and Read thread stops suddenly, anytime don't know why put the code on debug but still didn't get the solution, firstly I assume that this is due to android background execution limitation but then putting this service as a foreground service didn't solve the problem. ***** When coming from activity 2 to activity 1 then it is not writing to the usb device. Don't know why it is happening in random moments.

KOR-inho94 commented 1 year ago

I have similar problem... It works well when I connect to a serial device at first. but, it stop suddenly to communicate with the serial device. the other works which don't related with serial communication keep working... How can I fix it??