The customer requested that pairing be prohibited under certain circumstances, so I called API
sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP, NULL, NULL);
under BLE_GAP_EVT_SEC_PARAMS_REQUEST event to reject the pairing request.
After that, I will receive the BLE_GAP_EVT_AUTH_STATUS event, and I get that the encrypted connection cannot be established, so I call disconnect, such as the following code
case BLE_GAP_EVT_AUTH_STATUS:
if(p_ble_evt->evt.gap_evt.params.auth_status.auth_status == BLE_GAP_SEC_STATUS_SUCCESS)
{
NRF_LOG_INFO("pair success\r\n");
}
else
{
sd_ble_gap_disconnect(p_ble_evt->evt.gap_evt.conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
}
break;
I have four mobile phones, three of which can be disconnected normally, but one of the Samsung Galaxy N10 phones will have problems in the following places. Does anyone know how I can solve this problem?

