This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

programatically set passkey on the nordic

My set Up: Nexus 6 (Android version 6.0) as Peripheral, Nordic as Central.

I want to achieve ble pairing using 'pass key confirmation' methodology. The nordic device has no IO capability. But I want the nordic to pretend to have IO capability (by configuiring IO capability to 'BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY'). And I would enable mitm on the nordic side. Now, I am looking for a way I could programatically set(hardcode) passkey on the nordic side. Is this possible? If so, what else do I need to take care of?

Related