felHR85 / UsbSerial

Usb serial controller for Android
MIT License
1.8k stars 585 forks source link

Mobile phone black screen after 1-5 minutes can not send and receive data, must be re-unplugged device access #266

Open xuelangren opened 5 years ago

xuelangren commented 5 years ago

Hello, when I use the library, I found a problem. If the access is obtained, the mobile phone will not be able to get the receipt again after a long period of non-use of the resulting black screen. We must re-unplug the external device and re-insert the access to re-access the data. I found through debug that when the black screen of the mobile phone exceeds 1-5 minute. UsbReadCallback will sends a message to handler after a minute or directly unplugging the device. When this happens, you must unplug the device, reinsert it, and retrieve permissions.Otherwise, we can't communicate any more! Is there any way to solve this problem?

techmanch commented 4 years ago

Hi All, Causing device hanging issue after 5 to 6 sample This issue only comes when QR scanner + Fevo work together If device hanged and unplugged Fevo+ the device starts functioning(i.e. Fevo+ blocking device)
I have integrated in android Kindly help me?