<?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>Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12874/bonding-occurs-after-incorrect-passkey-entry</link><description>I am using a static passkey to set up pairing and after that the devices are supposed to bond. The issue I am encountering is that when the wrong passkey is entered or if the passkey entry is allowed to time out the central device acts like it has successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Aug 2016 06:14:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12874/bonding-occurs-after-incorrect-passkey-entry" /><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48985?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2016 06:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faca0adc-9753-4461-a58f-e8184b19da44</guid><dc:creator>jokii</dc:creator><description>&lt;p&gt;I think it was my fault, I&amp;#39;ve messed too much in example;/ now working as expected when introduced solution from here:
&lt;a href="https://devzone.nordicsemi.com/question/37465/cancel-of-pairing-causes-app_error_handler-to-be-called/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;
Not see bonds left any more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48984?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 12:36:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42c42efd-40ee-4fa8-9565-00afe5a712e5</guid><dc:creator>mbredes</dc:creator><description>&lt;p&gt;I dont think i was ever seeing this issue in example code, its been a while since I was working on this, but i believe the problem had been caused by me mixing and matching example code from various SDK&amp;#39;s for how to get bonding to work. If you&amp;#39;re seeing a similar problem you should probably make a new question about it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48983?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 12:20:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c2be3d2-a5d6-49dd-8740-366cd4f7f1f5</guid><dc:creator>jokii</dc:creator><description>&lt;p&gt;I&amp;#39;m struggle with same problem, eventually what is solution?
Reproducible on &lt;code&gt;ble_app_hids_mouse&lt;/code&gt; SDK v10 example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48982?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2016 21:25:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edde4189-f1d0-42c7-b019-df501b583ef8</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;I am having the same issue. How did you resolve your issue? I am using SDK v.11&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48981?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 06:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be4fce9-a442-489e-8147-4b489327d87b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! Then I would appreciate if you could accept my answer by clicking the grey circle with a check mark in it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48980?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 17:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06bf37e6-29f0-4864-bd8a-efeb2442296e</guid><dc:creator>mbredes</dc:creator><description>&lt;p&gt;I think i have managed to resolve my problem. it seems to have been caused by some confusion between examples I found of how to implement bonding between various versions of the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48979?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 12:38:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8444f30e-26bf-43af-b1fb-2ef6fc4431c6</guid><dc:creator>mbredes</dc:creator><description>&lt;p&gt;I&amp;#39;ve seen it happen on an iPad and with Master Control Panel. In Master Control Panel it will show the words &amp;quot;Bonded: True&amp;quot; at the top and will not start the bonding process when I press the Bond button. On the iPad it will not open up the pairing passkey request box and if I look under Settings-&amp;gt;Bluetooth-&amp;gt;devices it shows the board I&amp;#39;m using as a remembered device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48978?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 12:36:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aa997e5-66c3-496b-a161-c3791fe4f51e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What is your central devices? How do they seem to act as if they are bonded?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48977?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 12:30:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67b82415-c563-4f7b-b3c4-14f5cfbe07f7</guid><dc:creator>mbredes</dc:creator><description>&lt;p&gt;I am currently checking for those events in my device manager event handler and I disconnect if either of the last two occur. Most of my confusion is in how the central acts after the disconnect. The centrals seem to act as if they are bonded despite bonding not having occurred correctly. I have also tried adding in a line to delete bonds after that disconnect occurs, but that still causes the centrals to think they are bonded. Do I need to send some notification to the centrals to make them aware that I am not bonded correctly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding occurs after incorrect Passkey entry.</title><link>https://devzone.nordicsemi.com/thread/48976?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 07:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c7e3679-6cd6-482e-b5e7-f54ebdf7a5a6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;To me it sounds like bonding is not occuring, since you get insufficient aithentication.&lt;/p&gt;
&lt;p&gt;It is up to the application to react when pairing fails.&lt;/p&gt;
&lt;p&gt;You will get the BLE_GAP_EVT_AUTH_STATUS event.&lt;/p&gt;
&lt;p&gt;With it you can check the auth_status field in the ble_gap_evt_auth_status_t struct to see the security status:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;BLE_GAP_SEC_STATUS_SUCCESS (0x00)
BLE_GAP_SEC_STATUS_TIMEOUT (0x01)
BLE_GAP_SEC_STATUS_PASSKEY_ENTRY_FAILED (0x81)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Implement the reaction you want when pairing is not successful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>