How to properly configure a connection to a device using a passkey? I set the settings when initializing BLE, as indicated in the screenshot. The GAPBOND_PAIRING_MODE_INITIATE mode is set, i.e. at the moment of connection, the device should immediately start bonding proccess and request a connection key on its own, but this does not happen and anyone can just connect, read the characteristics and work with them, for some reason they are not asked for a key and dont start the pairing proccess.
At the same time, the key that I installed is requested only when trying to manualy establish a bond but only after the connection has been
established, why is that? I tried to connect via smartphone using nrf connect and ble scanner