ble_sm_chk_repeat_pairing() function
Checks if the specified peer is already bonded. If it is, the application is queried about how to proceed: retry or ignore. The application should only indicate a retry if it deleted the old bond.
Arguments
conn_handle
The handle of the connection over which the pairing request was received.
proc_flags
The security flags associated with the conflicting SM procedure.
key_size
The key size of the conflicting SM procedure.
Return value
0 if the procedure should continue; nonzero if the request should be ignored.