<?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 Bonding Method in nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27930/pairing-and-bonding-method-in-nrf51822</link><description>Hi guys, 
 I am currently using nrf51822 with SDK 11. I use Peer Manage to deal with paring and bonding encryption in BLE connection. 
 Please correct me if I am wrong but in &amp;quot;Just Work&amp;quot; mode, the nrf51822 connect and bond with any device. For example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Nov 2018 12:22:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27930/pairing-and-bonding-method-in-nrf51822" /><item><title>RE: Pairing and Bonding Method in nrf51822</title><link>https://devzone.nordicsemi.com/thread/157490?ContentTypeID=1</link><pubDate>Thu, 15 Nov 2018 12:22:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3df241fc-9b8e-482e-8882-2a251a9e0f34</guid><dc:creator>Basprog</dc:creator><description>&lt;p&gt;Dear Petter, what is more meaningful to protect peripheral against hostile centrals: direct advertising or whitelist? Also could you kindly review pros and cons of both approaches? Use case is as above: peripheral is intended to be connected to the only central.&lt;/p&gt;
&lt;p&gt;About the same question for protecting a central against hostile peripherals: filter or whitelist?&lt;/p&gt;
&lt;p&gt;BTW you wrote &amp;quot;&lt;em&gt;Then disable pairing/bonding&lt;/em&gt;&amp;quot;. I guess this is done by&amp;nbsp;pm_sec_params_set(bond = 0). Can it be called at any time?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing and Bonding Method in nrf51822</title><link>https://devzone.nordicsemi.com/thread/110233?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2017 16:00:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d411700-e78e-418d-9da3-ee26e6ece228</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;For whitelisting &lt;a href="https://devzone.nordicsemi.com/blogs/782/bluetooth-smart-and-the-nordics-softdevices-part-1/"&gt;this&lt;/a&gt; might be helpful. There are also a lot of questions about it in here.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://eewiki.net/display/Wireless/A+Basic+Introduction+to+BLE+Security"&gt;This&lt;/a&gt; might also be helpful. I would also consider buying a book, for example &lt;a href="https://www.amazon.com/Getting-Started-Bluetooth-Low-Energy/dp/1491949511/ref=sr_1_2?ie=UTF8&amp;amp;qid=1408102779&amp;amp;sr=8-2&amp;amp;keywords=BLE"&gt;this&lt;/a&gt; one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing and Bonding Method in nrf51822</title><link>https://devzone.nordicsemi.com/thread/110232?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2017 09:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9a1c0d3-f654-4c5b-9702-558378f7dadd</guid><dc:creator>Hust</dc:creator><description>&lt;p&gt;Excuse me, since I am a newbie in this BLE, can you please provide me some sources to look for understanding of whitelist and pairing, bonding? how to advertising with and without whitelist?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing and Bonding Method in nrf51822</title><link>https://devzone.nordicsemi.com/thread/110231?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 14:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a7fc428-0b7d-4dff-8f78-380f434b4bd4</guid><dc:creator>Hust</dc:creator><description>&lt;p&gt;Thank you for your helpful response. I will try it and notify you about the result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pairing and Bonding Method in nrf51822</title><link>https://devzone.nordicsemi.com/thread/110230?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 14:38:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27ed83cb-4ea2-491d-a966-e99fa39184ce</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes, it is possible.&lt;/p&gt;
&lt;p&gt;First advertise without whitelist.&lt;/p&gt;
&lt;p&gt;Smart phone A connects and does just works bonding. (You have to do this in a safe environment to not be vulnerable to passive eavesdropping and MTIM attacks.)&lt;/p&gt;
&lt;p&gt;Then disable pairing/bonding.&lt;/p&gt;
&lt;p&gt;If you get disconnected, advertise with whitelist (to filter out connection requests from unfamiliar centrals).&lt;/p&gt;
&lt;p&gt;(Be aware that a hostile central can use the address of the trusted central to get through the whitelist and connect, but it will not be able to pair/bond (when this is disabled). However, you will have to detect this and disconnect.)&lt;/p&gt;
&lt;p&gt;If the bond is deleted, enable pairing/bonding and advertise without whitelist.&lt;/p&gt;
&lt;p&gt;On program startup check if a device is bonded, if it is, disable pairing/bonding and advertise with whitelist, if not advertise without whitelist.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>