安卓蓝牙连接错误

2024-02-10

我在堆栈跟踪中收到以下消息。我可以找到蓝牙设备,但是当我尝试打开套接字时会发生这种情况。

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

EDIT:

套接字尝试打开但没有打开,抛出异常(Service Discovery failed)然后套接字正确关闭。


得到答案并解决它

在Android上使用蓝牙服务发现失败异常 https://stackoverflow.com/questions/3397071/android-bluetooth-service-discovery-failed-exception

只是希望我知道到底发生了什么:(

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

安卓蓝牙连接错误 的相关文章

随机推荐