Be able to have a pairing BLE connexion with fixed password/passkey

Hi,

I would like to make it mandatory to enter a password whenever you want to connect to my peripheral device nrf52840.

I use NCS 2.4.2.

First of all i want to succed connexion with a password when i try connexion with my phone and after i will need to implement also a central device nrf52840.

I don't find any example to succed this secure connexion, can you help me ?

Best regards,

Pierre-yves

Related