<?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>[nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101418/nrf-connect-sdk-how-to-recover-ble-connection-when-ble-lost-its-pairing</link><description>Target nRF52832(nrf52dk_nrf52832) SDK NCS v2.0.0 Hello. I&amp;#39;m doing my project based on peripheral_hids_keyboard sample. Issue: cannot make connection again Steps 1. make connection with win 10. 2. make sure data transfer 3. delete pairing ble side. 4.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jul 2023 11:49:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101418/nrf-connect-sdk-how-to-recover-ble-connection-when-ble-lost-its-pairing" /><item><title>RE: [nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/thread/436728?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 11:49:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1490689-dbcb-4124-b934-925c5836acbc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Einar is on vacation, so I have taken over this case in the meantime. Let me know if you require any further action points from our side.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/thread/435887?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2023 08:29:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56e43f7e-99d9-4c37-b09b-f28343c30f70</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;We could not determine official comments to my customer about this issue&amp;nbsp;yet.&lt;br /&gt;This case can be reopen someday.&lt;br /&gt;&lt;br /&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/thread/434875?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 08:44:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7334b14e-ab95-440d-b181-3e4595026675</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;Thanks for updating. let me have to think how I tell my boss.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/thread/434873?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 08:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f500736c-01e0-4467-bdfc-f7ae238d852a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I understand you point, but the only proper way to work around this without telling the customer to delete the bond is to reserve more space for bonding (so you don&amp;#39;t have to delete bonds that often / perhaps never). This is generally how things work with all Bluetooth devices that use bonding.&lt;/p&gt;
&lt;p&gt;There is one other potential approach though. That&amp;nbsp; is to change the address of the nRF, so that the Windows machine will see it as a new device. But this will also cause problems for other already&amp;nbsp;computers bonded with this device where both still have the bond, because it will not see the nRF as the same device anymore, and those bonds will also be useless in this case.&lt;/p&gt;
&lt;p&gt;To sum up, this is not a problem specific to the nRF, rather the limitation you are seeing here is an intentional security feature. On the nRF it is configurable, on Windows/iOS/Android, it is not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/thread/434869?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 08:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8cb104b-6986-4559-bed8-563f7363f125</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;I agree with your opinion.&lt;br /&gt;But Nordic has limit of max bonding due to memory. Nordic cannot store all the host it paired.&lt;br /&gt;&lt;br /&gt;If Nordic already removed old pairing of win 10, But win 10 might have pairing information.&lt;br /&gt;You and I understand this situation, but my customer directly cannot recognize it.&lt;br /&gt;They just can report it as issue.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;So I&amp;#39;m asking you if we may have solution to prevent it.&lt;br /&gt;If Nordic does not have pairing information, Nordic can let win 10 know pairing should be initiated again.&lt;br /&gt;But in my study, Nordic just send disconnection to win 10.&lt;br /&gt;&lt;br /&gt;If we can prepare solution, my customer will experience better service. and we can sell more product.&lt;br /&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/thread/434865?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 08:18:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:006963fe-a7f9-445d-8b49-b572a69b3c98</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was unsuccessfully&amp;nbsp;trying to reproduce this, but now I wonder if I misread the original issue. Did you remove the pairing on Windows or the nRF? If you remove the pairing on the nRF then you must also remove the pairing on Windows in order to proceed. Windows (like iOS and Android) will not allow you to replace an existing bond. (This is because it is a security risk as an attacker can spoof the address of the bonded device and replace the bond).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/thread/434324?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 01:34:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bbb6fc7-8128-4f7d-aad0-d065b954a1fa</guid><dc:creator>Tim Hwang</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0704_5F00_log.txt"&gt;devzone.nordicsemi.com/.../0704_5F00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for updating. But it still remain disconnected.(nothing different)&lt;br /&gt;Attached log is about &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/kconfig/index.html#CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE"&gt;CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE&lt;/a&gt;&lt;span&gt;=y.&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;BTW I add those two lines to initiate pairing process again when connected.&lt;/p&gt;
&lt;p&gt;bt_set_bondable(true);&lt;br /&gt; bt_conn_set_security(conn, BT_SECURITY_L4);&lt;br /&gt;It was not effective for me. &amp;quot;security failed&amp;quot; log is added.&lt;br /&gt;&lt;br /&gt;Do you have another idea?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;[Log]&lt;br /&gt;&lt;strong&gt;Security failed: 14:AB:C5:AE:75:17 (public) level 1 err 2&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nRF Connect SDK] How to recover BLE connection when BLE lost its pairing?</title><link>https://devzone.nordicsemi.com/thread/434208?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 12:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05c9a2e6-c222-4286-b4f2-292bd0344d6e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If the peer lost the bonding information, you either need to delete the bond on the nRF, or allow an existing bond to be replaced. The latter can be achieved by using &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/kconfig/index.html#CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE"&gt;CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE&lt;/a&gt;=y.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>