<?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>Security failing when trying to bond</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124944/security-failing-when-trying-to-bond</link><description>I&amp;#39;m using the peripheral_bms project. The only change being in the overlay to make it work with nrf52833 dk. I&amp;#39;m able to connect with nrfConnect and see the services (except when I try to read Bond Management Feature I get Read Operation failed: insufficient</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Oct 2025 08:26:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124944/security-failing-when-trying-to-bond" /><item><title>RE: Security failing when trying to bond</title><link>https://devzone.nordicsemi.com/thread/551784?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2025 08:26:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99286870-a2aa-4b34-a3de-5aea8f68fbe1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right. There ia a problem with nRF Connect for Desktop Bluetooth that causes this, and no new realease is imminent. I suggest you test with an iOS or Android device using &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-mobile"&gt;nRF Connect for Mobile&lt;/a&gt;, where you should not have this issue. However iOS is tricky in the sense that it does not allow the app to initiate bonding, so that cannot be used with the BMS sample. If you are maintly testing bondign and not BMS specifically, you can for instance test with &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/peripheral_cts_client/README.html"&gt;Peripheral CTS client&lt;/a&gt;&amp;nbsp;and a mobile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Security failing when trying to bond</title><link>https://devzone.nordicsemi.com/thread/551614?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2025 14:59:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d88614f7-be26-4be4-b118-9fbd5ae94b0d</guid><dc:creator>kruenheck</dc:creator><description>&lt;p&gt;I did that, but how can I check that the bonding is working? Shouldn&amp;#39;t I be able to reset the board and have nRfConnect app connect automatically? That doesn&amp;#39;t happen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Security failing when trying to bond</title><link>https://devzone.nordicsemi.com/thread/551532?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2025 07:46:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec07a65f-3990-48c5-a355-8ce66a04f4a9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That is correct. To keep the security information you must beform bonding. Then you need to check the box for bonding as well:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1760514324870v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And in the nRF log ou can see that it is bonded (here you see &amp;quot;bonded: 1&amp;quot; and in the previoius log where we only did pairing without bonding, you see &amp;quot;bonded: 0&amp;quot;):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.1.1-e2a97fe2578a ***
*** Using Zephyr OS v4.1.99-ff8f0c579eeb ***
Starting Bluetooth Peripheral BMS sample
I: 2 Sectors of 4096 bytes
I: alloc wra: 0, fd0
I: data wra: 0, 1c
I: SoftDevice Controller build revision: 
I: fc de 41 eb a2 d1 42 24 |..A...B$
I: 00 b5 f8 57 9f ac 9d 9e |...W....
I: aa c9 b4 34             |...4    
I: HW Platform: Nordic Semiconductor (0x0002)
I: HW Variant: nRF52x (0x0002)
I: Firmware: Standard Bluetooth controller (0x00) Version 252.16862 Build 1121034987
I: No ID address. App must call settings_load()
Bluetooth initialized
I: HCI transport: SDC
I: Identity: E3:4A:AE:AC:E6:6E (random)
I: HCI: version 6.1 (0x0f) revision 0x1069, manufacturer 0x0059
I: LMP: version 6.1 (0x0f) subver 0x1069
Advertising successfully started
Connected
Passkey for E4:77:53:6C:C9:2B (random): 358599
Pairing completed: E4:77:53:6C:C9:2B (random), bonded: 1
Security changed: E4:77:53:6C:C9:2B (random) level 4&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Security failing when trying to bond</title><link>https://devzone.nordicsemi.com/thread/551466?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2025 14:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24276b10-fb4a-46de-83f9-c0914aff73fa</guid><dc:creator>kruenheck</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thank you for this information, it helped me proceed, where I am updating the security to level 4:&lt;/p&gt;
&lt;p&gt;Advertising successfully started&lt;br /&gt;Connected&lt;br /&gt;Passkey for DD:07:FC:FC:5B:D9 (random): 014152&lt;br /&gt;Pairing completed: DD:07:FC:FC:5B:D9 (random), bonded: 0&lt;br /&gt;Security changed: DD:07:FC:FC:5B:D9 (random) level 4&lt;/p&gt;
&lt;p&gt;However, I don&amp;#39;t see the results I&amp;#39;m expecting regarding bonding. The ReadMe for the bms sample says,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Click the :guilabel:`Settings` button for the device in the app.&lt;br /&gt; #. Select :guilabel:`Pair`.&lt;br /&gt; #. Select :guilabel:`Keyboard and display` in the IO capabilities setting.&lt;br /&gt; #. Select :guilabel:`Perform Bonding`.&lt;br /&gt; #. Click :guilabel:`Pair`.&lt;/p&gt;
&lt;p&gt;#. Check the logs to verify that the connection security is updated.&lt;br /&gt;#. Disconnect the device in the app.&lt;br /&gt;#. Reconnect again and verify that the connection security is updated automatically.&lt;/p&gt;
&lt;p&gt;But even when I select&amp;nbsp;&lt;span&gt;&amp;quot;Enable LE Secure Connections pairing&amp;quot; and copy the passkey,&amp;nbsp;the devices don&amp;#39;t reconnect automatically and the security information gets lost.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Security failing when trying to bond</title><link>https://devzone.nordicsemi.com/thread/551445?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2025 13:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a54d383-85b2-4a12-b7fa-a9df4147aa29</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The error indicate a problem with the security level. If ou are testing with nRF Connect for Desktop (?), make sure you initiate pairing:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1760448406475v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then check the box maked &amp;quot;Enbale LE Secure Connections pairing&amp;quot; and that IO capabilities are listed as Keyboard and display:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1760448118414v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then the passkey should be printed in the UART log, and you enter that in nRF Connect liek this and press submitt:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1760448172765v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And then the link should be secured. Log from nRF (from a different run, so the passkey is different):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.1.1-e2a97fe2578a ***
*** Using Zephyr OS v4.1.99-ff8f0c579eeb ***
Starting Bluetooth Peripheral BMS sample
I: 2 Sectors of 4096 bytes
I: alloc wra: 0, fd0
I: data wra: 0, 1c
I: SoftDevice Controller build revision: 
I: fc de 41 eb a2 d1 42 24 |..A...B$
I: 00 b5 f8 57 9f ac 9d 9e |...W....
I: aa c9 b4 34             |...4    
I: HW Platform: Nordic Semiconductor (0x0002)
I: HW Variant: nRF52x (0x0002)
I: Firmware: Standard Bluetooth controller (0x00) Version 252.16862 Build 1121034987
I: No ID address. App must call settings_load()
Bluetooth initialized
I: HCI transport: SDC
I: Identity: E3:4A:AE:AC:E6:6E (random)
I: HCI: version 6.1 (0x0f) revision 0x1069, manufacturer 0x0059
I: LMP: version 6.1 (0x0f) subver 0x1069
Advertising successfully started
Connected
Passkey for E4:77:53:6C:C9:2B (random): 676434
Pairing completed: E4:77:53:6C:C9:2B (random), bonded: 0
Security changed: E4:77:53:6C:C9:2B (random) level 4&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>