In both examples have the callback functions that It does the pairing process.
The nRF52840 doesn't have the security support enabled,. In this case Initiator / Responder of pairing were called No Imput / No Output, in this case Just Works and a connection works without authentication.
I try to define passkey_entry (Responder) and passkey_display (Initiator), but pairing doesn't work yet.
i don't understand what happendee. Please, can someonr help me?