<?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 to reset BLE stack?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97776/how-to-reset-ble-stack</link><description>Hello Nordic team, 
 I would like to understand how I can reset BLE data. I understand that, in case of Zigbee, in order to reset Zigbee data, we can clear the Zigbee stack persistent storage area (0xF7000 - 0x100000) for nrf52840 as mentioned here: https</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Mar 2023 19:13:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97776/how-to-reset-ble-stack" /><item><title>RE: How to reset BLE stack?</title><link>https://devzone.nordicsemi.com/thread/416369?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 19:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2759665-3c5f-43db-b68b-73049828ffc3</guid><dc:creator>anusha_14</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;Thanks for these suggestions. Now, I understand that&amp;nbsp; deleting peer bond information is similar to resetting BLE. So, I have decided to use the function pm_peers_delete() after disabling softdevice for my purpose.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Anusha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset BLE stack?</title><link>https://devzone.nordicsemi.com/thread/416236?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 11:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d737896-e1a1-42f5-83e0-ffb9857b0172</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;In the BLE solution we have, you can normally delete the bond information of the peer (single or all). The API is normally based on which solution you are using.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With nRF5SDK based BLE solution, there is a very nice &lt;a href="https://punchthrough.com/ble-bond-deletion-constraints/"&gt;external blog&lt;/a&gt;&amp;nbsp;that tells you how to remove bond information of the peer without resetting the BLE.&lt;/p&gt;
&lt;p&gt;With NCS (Zephyr based) solution:&lt;/p&gt;
&lt;p&gt;As shown in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82523/how-to-delete-ble-bonded-paired-information-from-nrf-connect-sdk-1-5-1"&gt;thread&lt;/a&gt;, you can use &lt;a href="https://docs.zephyrproject.org/apidoc/latest/group__bt__gap.html#gaceabbbe6e844650f791010e53c9df6a4"&gt;bt_unpair&lt;/a&gt;(id, NULL). If you use NULL or&amp;nbsp;&lt;span&gt;BT_ADDR_LE_ANY&amp;nbsp;as the second argument, then all remote device pair/bond information is deleted from your device.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset BLE stack?</title><link>https://devzone.nordicsemi.com/thread/415953?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 10:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6941555-8a2e-42fb-b682-94b311b38520</guid><dc:creator>anusha_14</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;Let me give you some more information regarding my use case:&lt;/p&gt;
&lt;p&gt;In case of Zigbee, suppose, I have bonded two Zigbee end devices to Nordic, which is a Zigbee coordinator. If I want to remove the bonding of these devices, I can perform Zigbee reset on Nordic coordinator&amp;nbsp;by calling the function&amp;nbsp;&lt;strong&gt;zb_nvram_erase&lt;/strong&gt;().&lt;/p&gt;
&lt;p&gt;In case of BLE, suppose I have three BLE devices bonded to Nordic which has a Central role. If I want to remove the binding of all the devices, is there a function that I can call to do this, that will reset BLE stack as it was before any devices were bonded to it?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Anusha&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset BLE stack?</title><link>https://devzone.nordicsemi.com/thread/415811?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 17:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38f666ff-09c4-4b67-b79e-1b2d0a8e0899</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Not sure what you mean by reset BLE stack. BLE stack does not remember anything persistently apart from encryption keys used for bonding.&lt;/p&gt;
&lt;p&gt;What is your use case exactly? Can&amp;#39;t you just disable and enable BLE stack instead of resetting it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>