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
EDIT:
The socket attempts to open but doesnt, an exception is thrown (Service Discovery failed)
and then the socket is closed correctly.
If your Bluetooth devices won't connect, it's likely because the devices are out of range, or aren't in pairing mode. If you're having persistent Bluetooth connection problems, try resetting your devices, or having your phone or tablet "forget" the connection.
Reset the Bluetooth Settings To reset the Bluetooth settings, go to Settings > System. Then, tap on the Reset phone or Reset options. The available options may depend on the phone brand you are using. Tap Reset Wi-Fi settings and select the SIM card for which you want to reset the settings.
It's usually because the device's own Bluetooth is switched off, or isn't in pairing mode. Check the user manual to find out how to make it discoverable by turning on pairing mode. With some headphones, it's a case of holding the power button down for longer, but with other devices there's a dedicated Bluetooth button.
Got an answer and it remedies it
Service discovery failed exception using Bluetooth on Android
Just wish I knew what was actually happening :(
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With