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

    This sounds like the expected behavior if one of the devices thinks it is paired while the other has deleted bonding information. What do you mean by "reboot" the device? If you erase and reprogram the device, then it is expected that it will forget the bonding information, as it has been erased from the flash entirely. Then you have to erase bonding information on the phone as well in order for the two devices to be able to connect and bond again.

    Best regards,

    Simon

Reply
  • Hi

    This sounds like the expected behavior if one of the devices thinks it is paired while the other has deleted bonding information. What do you mean by "reboot" the device? If you erase and reprogram the device, then it is expected that it will forget the bonding information, as it has been erased from the flash entirely. Then you have to erase bonding information on the phone as well in order for the two devices to be able to connect and bond again.

    Best regards,

    Simon

Children
Related