<?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>nrf52832 S132 bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24255/nrf52832-s132-bonding</link><description>SDK： nRF5_SDK_11.0.0 
Softdevice： s132_nrf52_2.0.0_softdevice 
 I read an article about the connection, pairing, bonding and whitelist, there are some doubts： 
 Bonding: Paired devices can be bonded. This means that they store the keys that have already</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Aug 2017 13:55:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24255/nrf52832-s132-bonding" /><item><title>RE: nrf52832 S132 bonding</title><link>https://devzone.nordicsemi.com/thread/95490?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2017 13:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31ff1016-65b9-4ec7-b688-e1a9b912a781</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you had a look and test the ble_app_hid_keyboard example ? The whitelist is created and handled by device manager, you don&amp;#39;t have to do anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 S132 bonding</title><link>https://devzone.nordicsemi.com/thread/95491?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2017 10:08:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68932dd9-817c-4f13-8b53-f4b4439b0a40</guid><dc:creator>HDU-rib</dc:creator><description>&lt;p&gt;Such as the code, how can I get the phone address and IRK?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; case BLE_ADV_EVT_WHITELIST_REQUEST:
    {
        ble_gap_whitelist_t whitelist;
        ble_gap_addr_t    * p_whitelist_addr[BLE_GAP_WHITELIST_ADDR_MAX_COUNT];
        ble_gap_irk_t     * p_whitelist_irk[BLE_GAP_WHITELIST_IRK_MAX_COUNT];
				
        whitelist.addr_count = BLE_GAP_WHITELIST_ADDR_MAX_COUNT;
        whitelist.irk_count  = BLE_GAP_WHITELIST_IRK_MAX_COUNT;
        whitelist.pp_addrs   = p_whitelist_addr;
        whitelist.pp_irks    = p_whitelist_irk;

        err_code = dm_whitelist_create(&amp;amp;m_app_handle, &amp;amp;whitelist);  //´´½¨°×Ãûµ¥¹¦ÄÜ
        APP_ERROR_CHECK(err_code);

        err_code = ble_advertising_whitelist_reply(&amp;amp;whitelist);
        APP_ERROR_CHECK(err_code);
        break;
    }
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 S132 bonding</title><link>https://devzone.nordicsemi.com/thread/95489?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2017 09:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbc03488-f7c3-4b73-9d9d-7921ddfd849f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi HDU,&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t have to use passkey to be able to bond.&lt;/p&gt;
&lt;p&gt;Bonding mean there will be a LTK (long term key) exchanged after the link is encrypted by STK (short term key). The LTK will be used on the next time they connect.&lt;/p&gt;
&lt;p&gt;Pairing is when the link is encrypted with STK.&lt;/p&gt;
&lt;p&gt;You are correct about the IRK. You need to add the IRK to the whitelist. Please have a look at the ble_app_hid_keyboad or mouse to see how it&amp;#39;s implemented in SDK v11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 S132 bonding</title><link>https://devzone.nordicsemi.com/thread/95488?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2017 02:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5514669-082f-4b5e-a2f0-4dba454c7621</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;I presume you mean &amp;quot;bonding&amp;quot; not &amp;quot;bonging&amp;quot;, so I changed the title&lt;/p&gt;
&lt;p&gt;PS. The same miss spelling is in the tags&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>