This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

"Insufficient Encryption" when connecting with iOS App

Hi,

We have a firmware application using SDK 12.3 and Softdevice S132 V3.0.0 running on a nRF52 controller.The firmware is used pheriperial BLE device and provides a GATT server. In general, this works well with an Android application.

Some coleagues started with developement of an iOS application used as central device. As iOS dosen't provide a separate bonding command, the bonding is initialized by an access atempt to one of the encrytped characteristics. Somehow this works, because the communication succeeds after next reconnect. But immediately after pairing the iOS app returns an "Insufficient Encryption" error, when "reading" one of the characteristics.

That means firmware sends a notification for the specifc characteristic.

Is it possible that the notification is sent too early? With no encryption? Or with just a temporary key instead of bonding key?

Currently, we think the root cause is not in iOS / iOS-App. But where ever the cause is, can you give me any hints how I can trace this problem down?

Thanks!

Related