Hi, I have a question about Bluetooth pairing control.
I use nrf52dk board and sdk v17. I am working on many things using the example of sdk.
Now I'm trying to control pairing using the button. I found two ways to stop pairing.
//No pairing1
//uint32_t err_code = sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP, NULL, NULL);
//APP_ERROR_CHECK(err_code);
//No pairing2
//uint32_t err_code = pm_sec_params_set(NULL);
//APP_ERROR_CHECK(err_code);