AGAIN: read failed, socket might closed or timeout

Viewed 6469

I want pair my android device(android 4.2.2) to another android device that founded by BluetothAdapter.startDiscovery(). What I found when run BluetoothDevice.connect() request pairing start. but I have problem to run connect() and I got

  read failed, socket might closed or timeout, read ret: -1

I tried impliment fallback and gatclass , methods in

IOException: read failed, socket might closed - Bluetooth on Android 4.3

also correct UUID according to

Bluetooth Connection failed “java.io.IOException: read failed, socket might closed or timeout, read ret: -1”

and static UUID"00001101-0000-1000-8000-00805F9B34FB"

But all of them not work for me

My code is huge but blow code is similar (and same problem)

Android want to send bluetooth pair request to another devices can any body help PLZ ?

1 Answers
Related