Hi
Maybe you can help me.
I'm trying to get Device Manager to work, but I'm having several problems. Although the Device Manager is being correctly initialized and the connection context is being correctly saved into flash memory, I'm getting these two errors:
- When bonding, I get this error [BLE_GAP_EVT_SEC_PARAMS_REQUEST]:
Security parameter reply request failed, reason 8
But the bond is correct.
- When trying to re-connect after a power off, I get this other error [BLE_GAP_EVT_SEC_INFO_REQUEST]
[CI 0] [DI 0xFF] Security information response failed, reason 8
And now, the bond is not correct and I can't use encryption
These are the only errors I get? Do you have any idea or suggestion?
I'm starting to think I'm not using correctly the bond procedure. In my application, I have a characteristic where encryption is necessary to write into in ( BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM ). To write into it, I bond for the first time and I can write into the characteristic.
After a power off, I reconnect in Master Control, and I try to write into this characteristic directly, because the device was bonded previously. But this time, I get the INSUFFICIENT AUTHENTHICATION error. So I must to delete the Bond Info in Master control and Bond again to access to this characteristic.
What I'm doing wrong? Is there a working Device Manager example?
Thanks in advance
Elena