<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Change advertisement packet</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88504/change-advertisement-packet</link><description>Dear, 
 I use an nrf5340 dk with sdk 1.8.0 for vscode. I&amp;#39;m now playing with the central_and_peripheral_hr example and I want to change the advertisement packet. How and where do I change that? I looked at other similar questions on the forum but couldn</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 08 Jun 2022 13:46:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88504/change-advertisement-packet" /><item><title>RE: Change advertisement packet</title><link>https://test-devzone.nordicsemi.com/thread/371444?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 13:46:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:127e88c0-5222-485e-8d3d-cb8739af7f61</guid><dc:creator>user99041</dc:creator><description>&lt;p&gt;Thanks for the help!&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;AD41&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change advertisement packet</title><link>https://test-devzone.nordicsemi.com/thread/371287?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 07:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:319be636-5467-4080-bd86-d731461cb17b</guid><dc:creator>user115767</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;For updating the advertisement packets you need to make use of the function&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/api/gap.html#:~:text=Update%20advertising.,error%20code%20otherwise."&gt; bt_le_adv_update_data()&lt;/a&gt;. Take a look into the sample project in the sdk &lt;em&gt;zephyr\tests\bluetooth\adv &lt;/em&gt;as a reference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>