<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Passkey settings during the connection process</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5884/passkey-settings-during-the-connection-process</link><description>Hi, 
 I am using softdevice-7 and SDK 6.1 for our application. 
 If I connect using a passkey, first 「BLE_GAP_EVT_SEC_PARAMS_REQUEST」 event occurs, then the 「BLE_GAP_EVT_PASSKEY_DISPLAY」 event occurs. 
 After temporarily stopped in the event 「BLE_GAP_EVT_SEC_PARAMS_REQUEST</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Mar 2015 12:37:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5884/passkey-settings-during-the-connection-process" /><item><title>RE: Passkey settings during the connection process</title><link>https://devzone.nordicsemi.com/thread/20524?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2015 12:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dcaa35e-0fa5-43e5-af30-a35cec71446a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sakaba,&lt;/p&gt;
&lt;p&gt;What you need to do is to set the passkey first, before any pairing, with sd_ble_opt_set(). Then you follow this sequence chart: &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.0.0/s120/html/a00581.html"&gt;developer.nordicsemi.com/.../a00581.html&lt;/a&gt;
To display the passkey and then the end user on the peer device can enter the passkey that you display.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any issue with the timing here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>