Help with Pairing for non-display device

Hi,

I recently started upgrading an nRF chip on old SDK to the latest nRF Connect. The device has only one button and currently uses a static passkey (written on the device) while advertising constantly.

I want to make the following updates:

  1. Limited advertising (advertise only when requested for a set period of time) - This works in my proof-of-concept.
  2. Confirm pairing using a button press or another unique method.
  3. Remove the static passkey.

I am able to send a feedback from the device to the nRF chip; however, when attempting to skip the static passkey, I do not achieve security level 3/4 during pairing. Is it possible to configure the chip to acknowledge that the pairing is confirmed/accepted using the button? What approach would you advise?

Best regards,

Parents Reply
  • Thank you Amanda, this seems to be what I'm looking for. I'm still having slight problem applying it to my setup.

    I'm not receiving the .passkey_confirm callback, its seems my project is expecting me to input the random passkey generated. I'm getting the .passkey_display callback. 

    What can be the cause of this, we are not using NUS if that is something, here is copy of my poc .cfg file 

Children
Related