When I try to connect to a previously bonded device, I'm getting
Disconnected (reason 0x3d)
and bt_att: Unhandled ATT code 0x1d
and if I delete the bonds again and try to connect without pairing, I'm getting
bt_att: Unhandled ATT code 0x1d and the service discovery process is not working
Step to reproduce
- Open ncs/v1.6.0/zephyr/samples/bluetooth/peripheral
- west build -b nrf5340dk_nrf5340_cpuappns
- west flash --erase
- west flash
- Using nrfConnect for mobile application scan and connect to "Zephyr Peripheral Sample Long Name"
- Pair and Bond (the pin code will be shown in the console)
- Disconnect
- Connect again
It should connect, but instead it disconnect with reason 0x3d and the Unhandled ATT code 0x1d
Using the nRF Connect SDK v1.6.0 which is using Zephyr 2.6.0-rc1
Disconnected (reason 0x3d)