2016-03-05 75 views
1

我想配对我的Android设备(安卓4.2.2)到另一个由BluetothAdapter.startDiscovery()创建的Android设备。当我运行BluetoothDevice.connect()请求配对时,我发现了什么。 但我有问题,运行connect()和我根据再次:读取失败,套接字可能关闭或超时

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

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

我试图impliment回退和gatclass,方法

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

也是正确的UUID

和静态UUID“00001101-0000-1000-8000-00805F9B34FB”

但他们都没有给我

我的代码是巨大的工作,但打击代码相似(和同样的问题)

Android want to send bluetooth pair request to another devices 任何机构可以帮助PLZ?

回答

相关问题