<?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>Send Passkey from central to peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13374/send-passkey-from-central-to-peripheral</link><description>I want to implement static passkey based bonding, using the nrf51822 on both sides[Central is not a Mobile phone].My sw for peripheral side is working with a mobile device.But in the actual applkication i have to use a nrf51822 chip.The host controller</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Apr 2016 11:48:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13374/send-passkey-from-central-to-peripheral" /><item><title>RE: Send Passkey from central to peripheral</title><link>https://devzone.nordicsemi.com/thread/51002?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 11:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7141ffe8-044c-40e5-9b30-df94d3451139</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Then I guess you say that you have a display on the peripheral, and you have set a static passkey. If that is the case you should say that you have a keyboard on the central. Then you will get the BLE_GAP_EVT_AUTH_KEY_REQUEST event, and you need use the static passkey in the reply sd_ble_gap_auth_key_reply(). See &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.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___o_o_b___m_s_c.html?cp=2_6_2_1_0_2_1_3_5_2_2"&gt;this&lt;/a&gt; MSC for more information.&lt;/p&gt;
&lt;p&gt;You can also say that you have keyboard on the peripheral and on the central. Then you will get the BLE_GAP_EVT_AUTH_KEY_REQUEST event on both sides. And you reply with the same passkey on both sides with sd_ble_gap_auth_key_reply().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>