Internal GATT Error 129

I am using Marshmallow device to develop my BLE app. Many times I get status code 129 in onServicesDiscovered () method. I've tested on 3 different devices. I found the same problem in all devices. This is a random problem. I've searched many forums but haven't found any solutions yet.

Here's what I've tried: 1. Updating the Gatt cache using reflection. 2. Reinstalling the application. 3. Disconnect and connect the BLE device. 4. Turn Bluetooth and Wi-Fi on and off. This problem can only be solved by rebooting the phone. But I cannot ask the user to restart the phone if the app is unable to connect to the BLE device.

What is the cause of this problem? Is there a solution for this?

I also checked Android open source. I found the following URL for status codes .

Please give me some hint or solution for this.

+3
android bluetooth-lowenergy gatt


source to share


No one has answered this question yet

Check out similar questions:

1858
"Debug certificate expired" error in Android Eclipse plugins
185
Android 4.3 Bluetooth Low energy unstable
15
How do I send data using Bluetooth Low Energy (BLE)?
4
Bluetooth GATT - onServicesDiscovered (BluetoothGatt gatt, int status) does not contain all services
2
How does Android detect / detect Bluetooth device type?
1
Oneplus Bluetooth Gatt connection issue when device is off
1
BLE GATT Download Data - Android
0
Android BLE: onCharacteristicRead only works the first time
0
Android connects to 2nd Android device, in theory, like BLE Peripheral
0
Can I send data to module 4.2 or 5th module after pairing with bluetooth classic and without using GATT connection



All Articles
Loading...
X
Show
Funny
Dev
Pics