<?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>Cannot pair with previously bonded peer when key is missing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15481/cannot-pair-with-previously-bonded-peer-when-key-is-missing</link><description>I am using SDK_11 s130 ble_app_gls on nRF51-dk. 
 An Android phone running nRF-Connect app was able to pair and bond with nRF51-dk. First time doing pairing and bonding works fine. After the bonding information were deleted from the flash of nRF51-dk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 20 Aug 2016 19:23:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15481/cannot-pair-with-previously-bonded-peer-when-key-is-missing" /><item><title>RE: Cannot pair with previously bonded peer when key is missing</title><link>https://devzone.nordicsemi.com/thread/59153?ContentTypeID=1</link><pubDate>Sat, 20 Aug 2016 19:23:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:108c5c6d-bba2-4ef2-b6fe-73f7ed395e82</guid><dc:creator>selim</dc:creator><description>&lt;p&gt;What is the behavior on IOS? Can you please tell?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot pair with previously bonded peer when key is missing</title><link>https://devzone.nordicsemi.com/thread/59151?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2016 10:21:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66599085-2797-4410-8617-20f80877d744</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You are correct, this depends on the OS. I have experience for some Android OS version the bond information is removed automatically and the phone do a new bond. But it&amp;#39;s not applied for all version and with all vendor.
The app can&amp;#39;t do anything with this. You need to tell the end customer to do &amp;quot;Forget this device&amp;quot; manually.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot pair with previously bonded peer when key is missing</title><link>https://devzone.nordicsemi.com/thread/59152?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2016 12:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea27bae4-d0d4-4f2f-a23e-51e537076f03</guid><dc:creator>helpme</dc:creator><description>&lt;p&gt;Thanks for the answer. Can the source code of nRF-Connect Android app be modified such that it accepts the new request and replace the original authentic bond? I am worried this behavior is part of Android bluetooth stack and cannot be changed by the app source code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot pair with previously bonded peer when key is missing</title><link>https://devzone.nordicsemi.com/thread/59150?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2016 12:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8adff6c6-4fd8-4fdb-931f-02513547b52d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi helpme,&lt;/p&gt;
&lt;p&gt;As stated in the code: &amp;quot;How to handle this error is highly application dependent&amp;quot;. It&amp;#39;s up to the application and the central on how to deal with the situation.&lt;/p&gt;
&lt;p&gt;If you have a look at the ble_app_proximity you can find that when that event happens PM_CONN_SEC_ERROR_PIN_OR_KEY_MISSING, we will not disconnect but request a new bond.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s upto the central device to accept that or not.&lt;/p&gt;
&lt;p&gt;The reason is that it expose a security risk that attacker can spoof the address of the peripheral device and request the central to do a new bond. If the central accepts that, the original authentic bond will be replaced.&lt;/p&gt;
&lt;p&gt;The easiest to solve this it to let the end user to manually remove bond information on the phone (Forget this device)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>