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

How to get a pairing prompt immediately after connecting?

I'm trying out the ble_app_gls demo with the Nordic Master Control Panel app (on Android). What I see is that the MCP can connect to the device without bringing up a pairing dialog or asking for the passkey. The pairing dialog and passkey prompt only come up when enabling notifications on a characteristic, or trying to write to a characteristic.

How do I modify this example so that the passkey prompt comes up immediately after connecting?

(nRF51 dongle, SDK 10.0.0, SD110)

Related