Hi
Is there an example for BLE "Just Works" using the NRF Connect SDK for the peripheral device?
I am using a peripheral device without display and would like to allow pairing / bonding for a short period of time after pressing a button.
Having registered callbacks using bt_conn_auth_cb and setting .passkey_display = NULL and .passkey_confirm = NULL does result in being able to pair and bond, yet I would like to only allow bonding in case a button has been pressed before.
Registering pairing_confirm and calling bt_conn_auth_cancel (in case pairing is not allowd) has not yielded the desired outcome so far and I am wondering if this is at all possible (the above pattern used to work with the nRF5 SDK).
Any advise would be appreciated!
Best
Manuel