Pairing with bonded peer GATT ERROR 0x85 (133)

Hi,

I want to use filtered list during BLE advertisement in out project. The flow is as follows:

(I'm using nRF connect app for testing ble connection)

1. Just advertise so any device can be paired.
2. Bond (from now on whenever device disconnects advertise with enabled filtered list)
3. Now i can disconnect as many times as i want, and connect using devices remembered in bonded tab.
4. If i reboot the device the bond is still remembered but any pairing attempt results in immediate error log in the nRF app
```
Error 133 (0x85): GATT ERROR
```
5. Now i can try again with another device, but the pairing using remembered bond works until next reboot.

I'm using:
nrf-sdk 1.8.0 with Zephyr v2.7.0-ncs1

Parents
  • Hi

    Error 133 (0x85) is just a generic disconnect error that don't tell us too much of what is going on here I'm afraid. But I do see that the "autoConnect" seems to be set to false, which might be a pointer to what's going on. 

    What phone, specifically? Are you able to recreate this issue no matter what phone you use as a central? It might help doing a sniffer trace of the connection, to see the data transmitted over the air. If you have a spare nRF52 DK you can use Wireshark and the nRF Sniffer to do so for example, or a dedicated BLE sniffer if you have one of those.

    Best regards,

    Simon

Reply
  • Hi

    Error 133 (0x85) is just a generic disconnect error that don't tell us too much of what is going on here I'm afraid. But I do see that the "autoConnect" seems to be set to false, which might be a pointer to what's going on. 

    What phone, specifically? Are you able to recreate this issue no matter what phone you use as a central? It might help doing a sniffer trace of the connection, to see the data transmitted over the air. If you have a spare nRF52 DK you can use Wireshark and the nRF Sniffer to do so for example, or a dedicated BLE sniffer if you have one of those.

    Best regards,

    Simon

Children
Related