Hi,
In the product I developed, there is a UI flow about the mode of pairing and binding, which has a limitation that it can only be paired and bound when entering this mode. In other modes, only those that have been paired and bound can be connected, and new devices are not allowed to connect. So I wonder if there is an API that allows me to arbitrarily enable and disable the pairing and bonding functions of the nrf52833? Ensure the integrity of the UI. I've tried using flags to limit device connections.
1.Restrict this function "smd_params_reply",error

2. params_req_process()

This has no effect, in fact, it can still be paired and bound normally.
3.In the main function, the pm_evt_handler() function has a limit in PM_EVT_CONN_SEC_PARAMS_REQ. The effect of the test is that Android can use nrf connect to achieve the effect of the ui process, but ios in nrf connect will keep requesting connections within the limit until it exceeds the limit The limit is until there is a connection event. In the nrf toolbox, it is more serious. After I click connect, IOS will flash back when I cancel the connection within the constraints. I have also reported this issue on github.

I have tried all the methods I know, but the actual effect is not as ideal as I imagined. So want to ask nordic to see if there are any good suggestions. Thanks!