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


source to share





All Articles