<?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>RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42100/random-passkey</link><description>Hi I want to connect the system with random passkey, i modified the code like below the central is giving the passkey and i entering the passkey at device but not able to connecting please help. 
 
 
 #define SEC_PARAM_BOND 1 /**&amp;lt; Perform bonding. */</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Feb 2019 16:06:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42100/random-passkey" /><item><title>RE: RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/thread/173542?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 16:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4c2ab15-8337-4b38-90e2-8d3952139a31</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Thanks for the explanation. I found out that smd_ble_evt_handler does not log the events into debug info. That&amp;#39;s why I could not see in the debug trace.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/thread/173483?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 12:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e33e973-e9dc-4c1f-a8d6-a8793ba4fde4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In the main.c it&amp;#39;s only printed, but the event is also handled by the peer manager in the file security_dispatcher.c, and here it replys with&amp;nbsp;&lt;span&gt;sd_ble_gap_sec_params_reply&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/thread/173453?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 11:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6f8f6e-69d6-4004-8fd1-d15116bcf719</guid><dc:creator>Chencheng</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;In the chart (LESC) you mentioned, peripheral shall reply with sd_ble_gap_sec_params_reply.&lt;/p&gt;
&lt;p&gt;However, in ble_app_gls in SDK 15.2, it only print out the event but does not reply according to the chart.&lt;/p&gt;
&lt;p&gt;Why?&lt;/p&gt;
&lt;p&gt;BR/Chencheng&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/thread/165680?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 09:37:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce021939-b60a-4b61-877f-b21a8e38b2d8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Do you receive any error codes when this happens?&lt;/p&gt;
&lt;p&gt;Do you get the&amp;nbsp;BLE_GAP_EVT_AUTH_KEY_REQUEST event ?&lt;/p&gt;
&lt;p&gt;Here are the relevant&amp;nbsp;Message Sequence Charts.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Peripheral(with LESC):&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___p_k___c_e_n_t_r_a_l___o_o_b___m_s_c.html?cp=3_7_2_1_0_2_1_3_8_7_3"&gt;Bonding: Passkey Entry, User Inputs on Peripheral or OOB&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Peripheral(no LESC): &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group___b_l_e___g_a_p___p_e_r_i_p_h___l_e_s_c___b_o_n_d_i_n_g___p_k_e___c_d___m_s_c.html?cp=3_7_2_1_0_2_1_3_8_6_3"&gt;Bonding: Passkey Entry, User Inputs on Peripheral or OOB&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/thread/164608?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 05:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc336a8c-fd33-40cc-bb9d-c8aa741eb5d1</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;Thank you for your reply,&lt;/p&gt;
&lt;p&gt;I want to ask&amp;nbsp;&amp;nbsp;the random passkey at central side and needs to enter the passkey at peripheral sidefor that i tried your example with changing the below macro(display to keyboard) then it is showing the random passkey at central and i configured UART at peripheral side to enter the passkey but if i am entering random passkey at peripheral side bluetoth is not able to connecting.&lt;/p&gt;
&lt;p&gt;//#define SEC_PARAM_IO_CAPABILITIES BLE_GAP_IO_CAPS_DISPLAY_ONLY&amp;nbsp;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;#define SEC_PARAM_IO_CAPABILITIES BLE_GAP_IO_CAPS_KEYBOARD_ONLY&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;please help me on this&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/thread/164332?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 15:21:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c569e78-65a2-4a92-b4d9-dcb66d62d9fa</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Great, please try with the configuration found in the ble_app_gls example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/thread/164161?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 08:43:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32bceecb-77cc-4a39-a5cb-3d2b5c99285e</guid><dc:creator>GK</dc:creator><description>&lt;p&gt;Hi This is at peripheral side&lt;/p&gt;
&lt;p&gt;central i am using windows system&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RANDOM PASSKEY</title><link>https://devzone.nordicsemi.com/thread/164159?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 08:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86536423-5af6-46a5-9eeb-36fda56cab3d</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you&amp;nbsp;implementing this on a&amp;nbsp;&lt;span&gt;central&amp;nbsp;or&amp;nbsp;peripheral ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can take a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/ble_sdk_app_gls.html?cp=4_0_0_4_1_2_11"&gt;ble_app_gls example&lt;/a&gt; on how to implement this for the&amp;nbsp;peripheral.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>