1 of 1 people found this helpful
In both of the projects , I/O capabilities are not set properly and hence devices will not perform Authenticated Pairing procedure.
For Passkey Pairing procedure , You need to have Keyboard/Display capabilities such that if one device displays the key ,other one has to enter it.
You could refer BLE Spec's "Pairing Method" Section for more details. Here is the spec link - https://www.bluetooth.com/specifications/bluetooth-core-specification/