There is only one paired device in my application. When I try to establish a connection between two devices, it connects within a few seconds. But after that, it turns off.
Logcat shows this error:
Socket Type: nullaccept() failed
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
source
share