Bluetooth connection error on iOS with ESP32 device ("Authentication is Insufficient" or "Encryption is insufficient")
Opened this issue · 6 comments
Description:
I am experiencing an error when trying to connect to my ESP32 device using the iOS app ESP BLE Prov. The error message I receive is either "Authentication is Insufficient" or "Encryption is insufficient".
However, the connection works perfectly fine on the Android app.
Frequency:
It happens every time. Sometimes is "Authentication is Insufficient » or otherwise "Encryption is insufficient » error.
To reproduce:
Steps to reproduce the error:
- Launch the iOS app ESP BLE prov.
- Click on « I don’t have a QR code » to scan nearby bluetooth devices.
- Try to connect to the device via Bluetooth.
- The "Authentication is Insufficient" or "Encryption is insufficient" error is displayed.
iOS information:
- Device type/model: iPhone 11
- iOS version: iOS 17.3.1
- iOS app version: v2.1.0
Android information:
- Device model: realme 9i
- Android version: Android 13
- Android app version: v2.1.4
Additional provisioning information:
- ESP Device type: ESP32 device
- Device type: BLE
- Security: Unsecure
Screenshots:
Android connexion success: Video example
IOS connexion error: Video example
Request:
I would like to know if this is a known issue on iOS app and detailed reasons why it does this. If possible, please provide instructions on how to resolve this issue.
Hi,
Did anyone look at this yet ?
I seems like a fairly obvious bug since the Android library and Android sample app work.
Yes @blackcodefr, we are looking into this issue and will provide a fix soon.
@Jucy-Dev @blackcodefr Unfortunately we are not able to reproduce this issue at our end. I have tried on ESP-IDF version 5.4. Please let us know your IDF version and any additional example configurations.
@Jucy-Dev @blackcodefr Unfortunately we were not able to reproduce this issue at our end. We used the example from ESP-IDF version 5.4. Can you please let us know the IDF version and any additional steps to reproduce it?
The version of ESP-IDF is 4.4 and 4.4.7
HI @patafx We tried to reproduce the issue in the version 4.4.7 but we are still not able to reproduce it. Could you please send us the device logs in debug mode, so we can identify the root cause.