“Failed to encrypt the connection” with BlueZ peripheral and iOS
问题 I'm trying to make a raspberry pi bluetooth peripheral, so I try running the BlueZ example "example-gatt-server" and "example-advertising" at the same time. Then communicate it with my phone. But I got "Failed to encrypt the connection, the connection has timed out unexpectedly." on my iOS with nrf connect app. I'm using iOS 14, BlueZ 5.50, Raspberry Pi 4, Raspberry Pi OS Stretch 回答1: Instead of using ready made examples, I recommend that you create your own GATT server and then advertise as