Android的蓝牙连接错误蓝牙、错误、Android

2023-09-08 00:35:02 作者:喜欢伱

即时得到我的堆栈跟踪后续消息。我能找到的蓝牙设备,但是当我尝试打开这种情况发生的插口。

Im getting the follow messages in my stack trace. I can find Bluetooth Devices, but when I try to open the socket this happens.

10-30 22:23:08.901: ERROR/BTL_CFG(8633): WARNING : [service.brcm.bt.INQ_FILTER_BDA] property_get failed (0)
10-30 22:23:24.585: ERROR/BTLD(8633): ****************search UUID = 1454***********
10-30 22:23:24.600: ERROR/BluetoothEventLoop.cpp(2502): onCreateDeviceResult: D-Bus error: org.bluez.Error.AlreadyExists (Device already exists)
10-30 22:23:24.616: ERROR/DTUN_HCID4(8659): No device pointer found for peer! Ignore Error = true. Ignoring error...
10-30 22:23:26.093: ERROR/DTUN_HCID4(8659): discovery unsuccessful!
10-30 22:23:30.628: ERROR/CachedBluetoothDevice(18609): onUuidChanged: Time since last connect 1440232. mInitiatedPairing: false
10-30 22:23:30.632: ERROR/CachedBluetoothDevice(18609): onUuidChanged: Time since last connect1440236.mInitiatedPairing:false

编辑:

插座试图打开,但犯规,则抛出异常(服务发现失败),然后套接字正确关闭。

The socket attempts to open but doesnt, an exception is thrown (Service Discovery failed) and then the socket is closed correctly.

推荐答案

有一个答案,它的补救它

Got an answer and it remedies it

Android蓝牙:服务发现失败异常

只是希望我知道发生了什么实际发生的情况:(

Just wish I knew what was actually happening :(