Hi,
we are facing the following error. We bond our device (peripheral S140, SDK 15.3) with the following settings with iOS devices:
#define SEC_PARAM_BOND 1 // Perform bonding.
#define SEC_PARAM_MITM 1 // Man In The Middle protection not required.
#define SEC_PARAM_LESC 1 // LE Secure Connections not enabled.
#define SEC_PARAM_KEYPRESS 0 // Keypress notifications not enabled.
#define SEC_PARAM_IO_CAPABILITIES BLE_GAP_IO_CAPS_DISPLAY_ONLY
#define SEC_PARAM_OOB 0 // Out Of Band data not available.
#define SEC_PARAM_MIN_KEY_SIZE 7 // Minimum encryption key size.
#define SEC_PARAM_MAX_KEY_SIZE 16 // Maximum encryption key size.
After a lot of reconnects with our app we are getting sometime the error:
```
<info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102
<warning> peer_manager_handler: Disconnecting conn_handle 0.
<debug> BLE_CONN_HANDLER: PM_EVT_CONN_SEC_FAILED
```
In our code there is pm_peer_delete(p_evt->peer_id); in case a PM_EVT_CONN_SEC_FAILED happened. If we do not delete the peer what would be the best procedure?
Thanks in advance,
C.W: