<?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>OOB pairing central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9561/oob-pairing-central</link><description>Hi!
I am trying to implement oob pairing, but I don&amp;#39;t know how to do it.
I&amp;#39; ve got 2 nrf devices. Central and peripheral.
Central receives oob data, which it stores in structure.
What I&amp;#39;ve done now is presented below. 
 Central side: 
 
 Getting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Oct 2015 21:02:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9561/oob-pairing-central" /><item><title>RE: OOB pairing central</title><link>https://devzone.nordicsemi.com/thread/35313?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 21:02:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20f72b57-d00a-48f9-a0c6-61f8f7bc4c3b</guid><dc:creator>Artur</dc:creator><description>&lt;p&gt;I realized that function &lt;code&gt;sd_ble_gap_auth_key_reply&lt;/code&gt; is never called on the central. Because when I call  &lt;code&gt;dm_security_setup_req&lt;/code&gt; this wariant is chosen:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if ((p_handle-&amp;gt;device_id != DM_INVALID_ID) ||
        (m_connection_table[p_handle-&amp;gt;connection_id].bonded_dev_id != DM_INVALID_ID))
    {
        p_handle-&amp;gt;device_id = m_connection_table[p_handle-&amp;gt;connection_id].bonded_dev_id;

        //Already bonded device, encrypt the link.
        err_code = sd_ble_gap_encrypt(m_connection_table[p_handle-&amp;gt;connection_id].conn_handle,
            &amp;amp;m_bond_table[p_handle-&amp;gt;connection_id].peer_enc_key.master_id,
            &amp;amp;m_bond_table[p_handle-&amp;gt;connection_id].peer_enc_key.enc_info);
    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I found the confirmation in degug log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[DM]:[00]:[Block ID 0x0003F800]:Loading bond information at 20002e44, size 0x0000001C, offset 0x00000018.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I thought that when i reset device or load code to flash I remove it. But it does not work. How can I do it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OOB pairing central</title><link>https://devzone.nordicsemi.com/thread/35312?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2015 11:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bee104e-a614-410a-80e2-aeed783bf767</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Shouldn&amp;#39;t you get the BLE_GAP_EVT_AUTH_KEY_REQUEST on the central side as well? And reply with sd_ble_gap_auth_key_reply()? See this &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/group___b_l_e___g_a_p___c_e_n_t_r_a_l___b_o_n_d_i_n_g___p_k___p_e_r_i_p_h_e_r_a_l___o_o_b___m_s_c.html?cp=2_7_2_1_0_2_1_0_26"&gt;MSC&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>