<?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>Dynamic modification advertising public address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128441/dynamic-modification-advertising-public-address</link><description>Hi, 
 I want to set my BLE advertising as public adress Dynamic, and can&amp;#39;t work. I have try reboot,, and call &amp;quot;bt_ctlr_set_public_addr&amp;quot; before &amp;quot;bt_enable&amp;quot;, It is working first time. In second time, the advertising was change successful, but the address</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jun 2026 14:29:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128441/dynamic-modification-advertising-public-address" /><item><title>RE: Dynamic modification advertising public address</title><link>https://devzone.nordicsemi.com/thread/567848?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2026 14:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee8a7481-8dc0-4363-93d0-4079a013a83b</guid><dc:creator>nanty</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;To supplement my requirements:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; 1. Multiple broadcast IDs are needed, e.g., ID1 ID2&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; 2. ID1 needs to be a public address that can be dynamically modified.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; 3. ID2 needs to be a random address that can be dynamically modified.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;Add my testing project. Test process：&lt;/p&gt;
&lt;p&gt;1. Execute `west flash --recover` to flash the application. The actual broadcast address is &amp;quot;01, 0x02, 0x03, 0x04, 0x05, 0x07&amp;quot;, and the address type is public.&lt;/p&gt;
&lt;p&gt;2. The Android phone initiates a bond request via the NRF Connect tool. The development board accepts by pressing button 0, and the pairing is successful.&lt;/p&gt;
&lt;p&gt;3. Modify the address set in `bt_ctlr_set_public_addr` to &amp;quot;01, 0x02, 0x03, 0x04, 0x05, 0x06&amp;quot;, and compile and execute `west flash`.&lt;/p&gt;
&lt;p&gt;4. It can be seen that the actual broadcast address has been set successfully, but the ID0 address in `SETTING` is still &amp;quot;01, 0x02, 0x03, 0x04, 0x05, 0x07&amp;quot;.&lt;/p&gt;
&lt;p&gt;5. The phone reconnects and initiates a bond request, but it fails.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3463.peripheral_5F00_uart.zip"&gt;devzone.nordicsemi.com/.../3463.peripheral_5F00_uart.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>