This feature will be available in next psoc creator version PC 3.3 CP2(probably by mid of March).
With current BLE stack that is available on web, it is not possible to do .
Thank you Vikas. Looking forward this this feature.
I came across this thread, as I had the same question and would appreciate any guidance you could provide. I have the recent most recent component pack, but have not seen how to specify the pass key. I've been basing my work on the 100 projects in 100 days examples, which have proven to be very helpful, but I'd like to specify a single acceptable passkey and require the phone enter that passkey to authenticate the connection. I appreciate your time and any help you could provide.
I can confirm this feature was added to 3.3 CP2. Cypress were great at making the modification quickly.
Find CyBle_GapFixAuthPassKey in the Bluetooth component header files when you add the module.
Thanks for the quick response, I appreciate it. Works perfectly for what I need.