Adding a passkey for pairing

Using nrf connect or the app I created using Bluetoothlegatt sample on android studio, pairing to the Arduino 101 has no security meaning that anyone can connect to it. Is there a way I can code a passkey (6 digit PIN) onto the board so that the app is required to enter this passkey before you can pair to the board?

Cloud2828:
Using nrf connect or the app I created using Bluetoothlegatt sample on android studio, pairing to the Arduino 101 has no security meaning that anyone can connect to it. Is there a way I can code a passkey (6 digit PIN) onto the board so that the app is required to enter this passkey before you can pair to the board?

Hi ! Did you solve this ? I’m facing the exact same problem ):