This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error(0x85):GATT ERROR

Hi,I have trouble when I try my nRF51822 board with example program of hrs. I use nRF Master Control in my phone to connect with my board.scanning is ok.But when it try to connect, sometimes it can connected with my board, but soon disconnected because of Error(0x85):GATT ERROR. Sometimes this error happened when discovering services. What does it mean? My hardware is based on nRF51822QFAAG2.

Parents
  • I'm having a similar problem. I can connect to the devices on an Android 5.1 Phone (MotoX), but on a new Samsung S7 on Android 6.0.1, I'm unable to connect. I don't even get as far as discovery. I can connect to other non-Nordic devices. And I can't connect using non-Nordic scanner apps on the S7.

    Here's the log from your nRF Master Control app:

    nRF Master Control Panel, 2016-03-13
    Teddy_M100044 (F5:12:9E:28:22:7F)
    V	18:02:34.233	Connecting to F5:12:9E:28:22:7F...
    D	18:02:34.238	gatt = device.connectGatt(autoConnect = false)
    D	18:02:35.501	[Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
    E	18:02:35.528	Error 133 (0x85): GATT ERROR
    I	18:02:35.543	Disconnected
    D	18:02:35.558	gatt.close()
    

    And here's the adb debug output:

    03-13 18:18:18.391 16014 16083 D BluetoothGatt: connect() - device: F5:12:9E:28:22:7F, auto: false
    03-13 18:18:18.391 16014 16083 D BluetoothGatt: registerApp()
    03-13 18:18:18.401 16014 16083 D BluetoothGatt: registerApp() - UUID=02c2672d-f730-428f-983b-6f9a91360cb9
    03-13 18:18:18.441 16014 16025 D BluetoothGatt: onClientRegistered() - status=0 clientIf=7
    03-13 18:18:19.971 16014 16026 D BluetoothGatt: onClientConnectionState() - status=133 clientIf=7 device=F5:12:9E:28:22:7F
    03-13 18:18:19.971 16014 16026 E Peripheral: onConnectionStateChange. status = 133
    03-13 18:18:19.971 16014 16026 E Peripheral: onConnectionStateChange. newState = 0
    03-13 18:18:19.981 16014 16026 D BluetoothGatt: close()
    03-13 18:18:19.981 16014 16026 D BluetoothGatt: unregisterApp() - mClientIf=7
    03-13 18:18:19.991 16014 16014 D SystemWebChromeClient: file:///android_asset/www/js/bluetooth2.js: Line 266 : error in connect:ble.connect: {"name":"Teddy_M100044","id":"F5:12:9E:28:22:7F","advertising":{"CDVType":"ArrayBuffer","data":"DglUZWRkeV9NMTAwMDQ0AxlAAgIBBAcDBBgCGAMYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},"rssi":-41}
    
  • You are using your own customized BLE service or you are checking with the SIG service come with Nordic SDK?

    Because this seems there is some mistakes with source code.

Reply Children
No Data
Related