<?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>how can i initiate unbonding on the peripheral side?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125247/how-can-i-initiate-unbonding-on-the-peripheral-side</link><description>I&amp;#39;d like to call a function on the peripheral (by pressing a button or sending a command from the terminal) that performs unbonding from a central. I&amp;#39;m able to bond using two different samples, peripheral_bms and peripheral_hids_mouse, but neither mention</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Oct 2025 14:18:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125247/how-can-i-initiate-unbonding-on-the-peripheral-side" /><item><title>RE: how can i initiate unbonding on the peripheral side?</title><link>https://devzone.nordicsemi.com/thread/553042?ContentTypeID=1</link><pubDate>Fri, 31 Oct 2025 14:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45213376-f3b0-40da-9615-619781944fdb</guid><dc:creator>kruenheck</dc:creator><description>&lt;p&gt;I got it by eliminating the call to&amp;nbsp;bt_conn_auth_cb_register() in main().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how can i initiate unbonding on the peripheral side?</title><link>https://devzone.nordicsemi.com/thread/552825?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2025 21:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27111d29-5caf-479a-a8e3-3cbd8b0db7ac</guid><dc:creator>kruenheck</dc:creator><description>&lt;p&gt;Daniel,&lt;/p&gt;
&lt;p&gt;Thank you for this information. Lesson 5 Exercise 2 did the trick. Unfortunately I recently found out that my peripheral will need to pair and bond without access to the terminal, so I can&amp;#39;t use the six digit key. So what&amp;#39;s needed is the pairing method of&amp;nbsp;&lt;span&gt;Exercise 1 (through Step 7) with the bonding and white listing capabilities of&amp;nbsp;Exercise 2.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I attempted to accomplish this by changing the characteristics (in exercise 2) from&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;BT_GATT_PERM_WRITE_AUTHEN to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;BT_GATT_PERM_WRITE_ENCRYPT, but I&amp;#39;m still getting the passkey display on the terminal and request on my phone. Is there something I can remove from Exercise 2 that will make it only require security Level 2 but still perform bonding and whitelisting?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thank you&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how can i initiate unbonding on the peripheral side?</title><link>https://devzone.nordicsemi.com/thread/552547?ContentTypeID=1</link><pubDate>Mon, 27 Oct 2025 18:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c8b9ba-d89f-44c7-8470-7086e4bd10b4</guid><dc:creator>DanielNG</dc:creator><description>&lt;p&gt;Hi are you using nRF Connect SDK or nRF5 SDK?&lt;br /&gt;&lt;br /&gt;Assuming that you are using ncs, you can take a look at &lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-5-bluetooth-le-security-fundamentals/topic/blefund-lesson-5-exercise-2/"&gt;lesson 5 exercise 2&lt;/a&gt; on our Dev Academy BLE Fundamentals course and the associated &lt;a href="https://github.com/NordicDeveloperAcademy/bt-fund/tree/main/l5/l5_e2_sol"&gt;github&lt;/a&gt;&amp;nbsp;to see how bt_unpair() is implemented to perform unbonding.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Please note that if only the peripheral deletes the bond, the next connection attempt will typically fail (the link cannot be re-encrypted) until the central also forgets the device in its Bluetooth settings. This is a limitation of how Bluetooth bonding works: both sides must remove the bond for a new pairing to the same device to succeed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Please give me more details if you still have questions (what sdk are you using, version,...)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>