<?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>BLE pairing with IOT SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8509/ble-pairing-with-iot-sdk</link><description>I am trying to add pairing option in IOT examples provided in nrf51_iot_sdk_0.8.0. I don&amp;#39;t see device manager interface in this SDK. Are there sample examples I can use to implement ble pairing with this SDK? 
 Even the IOT SDK documentation doesn&amp;#39;t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Aug 2015 08:54:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8509/ble-pairing-with-iot-sdk" /><item><title>RE: BLE pairing with IOT SDK</title><link>https://devzone.nordicsemi.com/thread/31070?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 08:54:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6516d0cd-600b-4bf9-8d3a-322544bff209</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The IoT SDK doesn&amp;#39;t include Device Manager (or Pstorage used by Device Manager). This just means that it hasn&amp;#39;t been tested, so there are no examples. I think it should work, but I can&amp;#39;t guarantee it. Arnaud Nelissen tried to add Pstorage to the IoT SDK (see &lt;a href="https://devzone.nordicsemi.com/question/45008/pstorage-usage-with-iot-sdk/"&gt;this&lt;/a&gt;), he had some issues, I&amp;#39;m not sure if he resolved them. If you want to try, you can fetch the libraries from the normal SDK, and follow &lt;a href="https://devzone.nordicsemi.com/tutorials/15/implementing-the-device-manager/"&gt;this&lt;/a&gt; tutorial on implementing Device Manager. If you decide to do this, and get into trouble, please add a new question with a reference to this question, and describe what you have tried, and what is happening.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try to look into this some more, I&amp;#39;ll update this question with my findings.&lt;/p&gt;
&lt;p&gt;Edit 04.08.2015: I&amp;#39;m sorry, I misread your question, I read bonding not pairing. If you only want to pair you don&amp;#39;t need to use the device manager (or pstorage). Then you can just reply when you get BLE_GAP_EVT_SEC_PARAMS_REQUEST. Please 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___p_e_r_i_p_h___p_a_i_r_i_n_g___j_w___m_s_c.html?cp=2_7_2_1_0_2_1_0_5"&gt;MSC&lt;/a&gt;. Or if you want to ask the central to pair you can call sd_ble_gap_authenticate(), please 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___p_e_r_i_p_h___s_e_c___m_s_c.html?cp=2_7_2_1_0_2_1_0_11"&gt;MSC&lt;/a&gt;. This is however from the peripheral side, I&amp;#39;m not sure how the central side, the router, will behave.&lt;/p&gt;
&lt;p&gt;I have given this some thought I would like to ask you what the use case is of doing pairing. If it is to encrypt the IPv6 packets between the node and the router it may not make much sense, the packets will still be unsecure when they leave the router. Please try to update your question to include some information about what you want to achieve with pairing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>