<?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>Recommended method to update BLE AD in nRF Connect/Zephyr at runtime</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120952/recommended-method-to-update-ble-ad-in-nrf-connect-zephyr-at-runtime</link><description>Currently advertising packet is built by macros, but the data types include const qualifiers. 
 What is the &amp;quot;proper&amp;quot; way to dynamically update advertising please? I need to change the manufacturer-specific data at runtime. 
 Using NCS 2.9.0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 27 Apr 2025 16:17:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120952/recommended-method-to-update-ble-ad-in-nrf-connect-zephyr-at-runtime" /><item><title>RE: Recommended method to update BLE AD in nRF Connect/Zephyr at runtime</title><link>https://devzone.nordicsemi.com/thread/533107?ContentTypeID=1</link><pubDate>Sun, 27 Apr 2025 16:17:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b76cd642-59d9-4b09-95ab-6073ee9678f2</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;FYI that page is broken; the code snippets are missing (and doesn&amp;#39;t even address my question anyway).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_04_2D00_25-104713.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/5e8410ff_2D00_8972_2D00_4056_2D00_bc4c_2D00_5485458bac7c-78418-complete/Screenshot-2025_2D00_04_2D00_25-104713.png" /&gt;&lt;/p&gt;
&lt;p&gt;But never mind, in trying to go through the code the penny dropped. For the benefit of anyone else looking, the &lt;em&gt;pointer &lt;/em&gt;is a const, but the&lt;em&gt; variable &lt;/em&gt;isn&amp;#39;t. So I just update my mfg_data.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recommended method to update BLE AD in nRF Connect/Zephyr at runtime</title><link>https://devzone.nordicsemi.com/thread/532884?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 15:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e97ca68-31c2-479e-bf27-97b503e8fb51</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;See this NordicAcademy course&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-2-bluetooth-le-advertising/topic/blefund-lesson-2-exercise-2/"&gt;https://academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-2-bluetooth-le-advertising/topic/blefund-lesson-2-exercise-2/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recommended method to update BLE AD in nRF Connect/Zephyr at runtime</title><link>https://devzone.nordicsemi.com/thread/532879?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 15:11:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c6f64e2-a9d3-4385-bfa7-8116f0dd640c</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;I already found that post before posting this... How does that work, when the NCS macros use const data types?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Recommended method to update BLE AD in nRF Connect/Zephyr at runtime</title><link>https://devzone.nordicsemi.com/thread/532876?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 15:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8bea4ae-6778-4614-b384-081bbcf01c8e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Check &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/110832/how-to-update-advertising-data-dynamically-zephyr/481744"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>