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 Karol

    From the sniffer trace the disconnect seems to be caused by the peripheral (nRF device) after the connection parameter update for some reason (packet 1704 returns "Remote User Terminated Connection" from the central). You will need to debug on the peripheral side to find out why it disconnects, I think you should see a more descriptive disconnect reason by debugging the nRF device. It seems to connect and encrypt the connection as expected, but there's no specific info on what's causing the disconnect.

    Best regards,

    Simon

Reply
  • Hi Karol

    From the sniffer trace the disconnect seems to be caused by the peripheral (nRF device) after the connection parameter update for some reason (packet 1704 returns "Remote User Terminated Connection" from the central). You will need to debug on the peripheral side to find out why it disconnects, I think you should see a more descriptive disconnect reason by debugging the nRF device. It seems to connect and encrypt the connection as expected, but there's no specific info on what's causing the disconnect.

    Best regards,

    Simon

Children
No Data
Related