<?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 update peripheral device BD Address after device disconnection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120370/how-to-update-peripheral-device-bd-address-after-device-disconnection</link><description>Hi 
 I am developing an application where I need to update the BD address for advertising after each disconnection and on reboot. I know Zephyr stack has the API bt_id_reset() which can be used to reset the bd_address but it also clean up the stored keys</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Apr 2025 07:50:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120370/how-to-update-peripheral-device-bd-address-after-device-disconnection" /><item><title>RE: How to update peripheral device BD Address after device disconnection</title><link>https://devzone.nordicsemi.com/thread/530378?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 07:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:563f3cf0-e646-4698-a9b5-924070fc3cc9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You can advertise with only one ID but yse the sample I referred to for how to do that (you do not have to make multiple advertisers). So this seems to fit what you need as far as I can see (though you just need parts of the sample as you just want one advertiser). But if you only want a single ID and nost use the old, I don&amp;#39;t see the problem with bt_id_reset()? (the old bonds are deleted, but they are also assosiated with the old identity and cannot be used with the new anyway, so there is no reason to keep it)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update peripheral device BD Address after device disconnection</title><link>https://devzone.nordicsemi.com/thread/530348?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 05:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eff3c09-a8e0-4519-8607-81ab12f56144</guid><dc:creator>mksi</dc:creator><description>&lt;p&gt;you mean I do not have other option other then bt_id_reset(), if I want have single Id.&lt;br /&gt;Otherwise I have to use multiple ids if I want to change the BD address&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update peripheral device BD Address after device disconnection</title><link>https://devzone.nordicsemi.com/thread/530284?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 14:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2a7783f-cc08-487c-82ff-15be01a48b48</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see, but then you are back to&amp;nbsp;bt_id_reset(), are you not? If not, can you elaborate?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update peripheral device BD Address after device disconnection</title><link>https://devzone.nordicsemi.com/thread/530282?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 14:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40f8fb4c-549b-41b4-a327-c73a370b8cc7</guid><dc:creator>mksi</dc:creator><description>&lt;p&gt;I want to have only one identity and change the address(application defined) each time after disconnection. is this possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update peripheral device BD Address after device disconnection</title><link>https://devzone.nordicsemi.com/thread/530234?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 12:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb161519-01ce-435c-810a-71c2a43f4087</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.1/page/nrf/samples/bluetooth/peripheral_with_multiple_identities/README.html"&gt;Bluetooth: Peripheral with multiple identities&lt;/a&gt;&amp;nbsp;sample demonstrate multiple advertisiers with different addresses.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>