<?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>Pairing and limiting paired devices without manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23877/pairing-and-limiting-paired-devices-without-manager</link><description>Hi, 
 Is it possible to make pairing without the peer/device/bond manager? I am using SDK 12.3 on NRF51 and/or NRF52 and would like to get it to pair with a certain device (android or iOS) and then not let any other device connect to it. 
 I have been</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jul 2017 12:18:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23877/pairing-and-limiting-paired-devices-without-manager" /><item><title>RE: Pairing and limiting paired devices without manager</title><link>https://devzone.nordicsemi.com/thread/93941?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 12:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbb0443a-80c7-409e-bc85-e614c0c03ff4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Here is one example of using whitelist (go to section III Example code).&lt;/p&gt;
&lt;p&gt;If you want to handle pairing and bonding without using peer manager, I would suggest to start with ble_app_uart example. In this example we don&amp;#39;t use peer manager, but we also don&amp;#39;t handle pairing (Pairing not supported is sent when receive pairing request).&lt;/p&gt;
&lt;p&gt;Then you can have a look at this &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___j_w___m_s_c.html?cp=2_3_0_1_1_2_1_3_9_7_0"&gt;message sequence chart&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;If you want to bond, you need to store key_set in flash and re-use it when reconnect.&lt;/p&gt;
&lt;p&gt;In earlier SDK we also have an example that handles  pairing and bonding but we don&amp;#39;t store in flash, please have a look at ble_app_template in SDK v8.x
APIs have changed quite a lot, but you still can get the rough idea how to handle bonding from that example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>