I use the following :
->nRF52840 Dongle / µC on the other side
->Blutooth Low Energy v3.0.1 (desctop version)
I try to read a characterictic after connecting and get the following error:
ATTERR_INSUF_ENCRYPTION(0x010F) -> this error is clear for me, because I did no pairing and my µC application requires LE secure pairing (no keyboard, no display)
but if I pair with:
- I/O capabilities: no keyboard, no display
- Authentication: Enable LE Secure connection Pairing
- (no) Enable MITM protection
- (no)Enable OOB data
- (no) Enable keypress notifications
- (no) Perform bonding
the pairing works fine, but I get the following Error:
ATTERR_INSUF_ENC_KEY_SIZE(0x010C)
so my question: is there a possibility to define the key size for the Bluetoot low energy v3.0.1 application?
- which key size is used (default key size)
If I configure my µC so that no pairing is needed for reading this specific characteristic, then everthing works fine. But I would neet secure BLE connection and offer read access only if the device is paired
thanks for your help, best wishes, migi