<?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>Delete Bond</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95744/delete-bond</link><description>Hi, 
 How to automatically delete the bond between a central and a peripheral after disconnection? I&amp;#39;m using zephyr. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Jan 2023 08:00:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95744/delete-bond" /><item><title>RE: Delete Bond</title><link>https://devzone.nordicsemi.com/thread/405386?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 08:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5feb03e2-f33e-48dc-a010-ec2e7fedf657</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then&amp;nbsp;you should make sure that you perform pairing using LESC (LE Secure Connection) with passkey or OOB, otherwise&amp;nbsp;you will be vulnerable to attacks each time you connect and pair.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete Bond</title><link>https://devzone.nordicsemi.com/thread/405329?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 18:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99e3c6ee-bea7-4f56-8098-7a4baeb3b66d</guid><dc:creator>Reginaldo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My application always requires pairing, it is a necessary feature of the product, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete Bond</title><link>https://devzone.nordicsemi.com/thread/405328?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 17:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d4547e4-dfe9-4f27-b6a7-d7cf490df724</guid><dc:creator>Reginaldo</dc:creator><description>&lt;p&gt;Thanks Joao, it worked as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete Bond</title><link>https://devzone.nordicsemi.com/thread/405215?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 11:47:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1337efee-cea3-4696-8345-617465e9e5c0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you never want to store the bonding information I agree with João that there is no need to bond in the first place. The sole purpose of bonding is to store the encryption information, so you don&amp;#39;t have to redo the pairing and service discovery each time you connect.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then the follow up question would be why you don&amp;#39;t want to store the bonding data?&amp;nbsp;&lt;br /&gt;For many applications it is very inconvenient to have to pair every time you connect (it is also a potential security risk depending on how you do the pairing).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete Bond</title><link>https://devzone.nordicsemi.com/thread/405130?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 21:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7fa4dc0-0fad-4e21-93db-8c458b7e3aab</guid><dc:creator>Joao Dullius</dc:creator><description>&lt;p&gt;Hi Reginaldo,&lt;/p&gt;
&lt;p&gt;Based on the samples that do have bonding. on the peripheral and central side you need to ensure that you are &lt;strong&gt;not&lt;/strong&gt; using settings to store the bonding information, so please make sure you are not activating the following configs:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#Enable to Save BLE Settings
CONFIG_BT_SETTINGS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you are also not using settings for other contexts and not using flash for other purposes, please also remove:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Please, also make sure that you are not calling setting_load() in your applications not using any settings context.&lt;/p&gt;
&lt;p&gt;Additionally, on the &lt;strong&gt;central&lt;/strong&gt; side you need to add the following config:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_BT_BONDABLE=n&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>