<?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 advertisement packet manufacturer specific data at run time in SDK 16;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57617/how-to-update-advertisement-packet-manufacturer-specific-data-at-run-time-in-sdk-16</link><description>I want to update status in manufacturer specific data of advertisement packet. is there necessary to stop advertising first then reinitialize advertisement data and again start advertisement, please guide with code snippet.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Mar 2020 09:15:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57617/how-to-update-advertisement-packet-manufacturer-specific-data-at-run-time-in-sdk-16" /><item><title>RE: How to update advertisement packet manufacturer specific data at run time in SDK 16;</title><link>https://devzone.nordicsemi.com/thread/238452?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 09:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b24db322-83f3-4687-a2bf-2c1e3415758c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The function&amp;nbsp;ble_advertising_advdata_update() is part of the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_ble_advertising.html"&gt;advertising module&lt;/a&gt;, which is also used in SDK 16 (&amp;lt;SDK&amp;gt;\components\ble\ble_advertising\ble_advertising.h). If you use the advertising module (which is used by most BLE peripheral examples in the SDK), then using this function makes the most sense. If you use SDK 16 and the advertising module, then you don&amp;#39;t need to think about having two advertising buffers, since that is handled for you by the module (not the case for SDK 15).&lt;/p&gt;
&lt;p&gt;(Alternatively, if you do not use the advertising module, you need to&amp;nbsp;either stop, reconfigure and start advertising. Or to update without stopping and starting, lternate between two buffers and call&amp;nbsp;sd_ble_gap_adv_set_configure() with NULL as the third parameter to update the advertising data on the fly.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update advertisement packet manufacturer specific data at run time in SDK 16;</title><link>https://devzone.nordicsemi.com/thread/238355?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 15:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:680f7aff-513a-4dff-9813-7849198b8bda</guid><dc:creator>adnan arshad</dc:creator><description>&lt;p&gt;I have followed the post you mentioned but the following&lt;/p&gt;
&lt;p&gt;ble_advertising_advdata_update()&lt;/p&gt;
&lt;p&gt;function is not found in the sdk 16 please mention its include file or something else.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to update advertisement packet manufacturer specific data at run time in SDK 16;</title><link>https://devzone.nordicsemi.com/thread/233519?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 12:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3b9c976-ff84-4786-92c6-76f2ba65e402</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can refer to &lt;a href="https://devzone.nordicsemi.com/support-private/support/243708#permalink=532250"&gt;this post&lt;/a&gt;. The main thing to remember is that you cannot update the advertising data buffer that is currently used. Therefore you need to update a new buffer, so typically you will&amp;nbsp;iterate between two buffers if updating the advertising data regularly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>