<?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>Changing advertising parameters on the fly</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102240/changing-advertising-parameters-on-the-fly</link><description>Hi 
 
 I have two &amp;quot;states&amp;quot; of advertising, I want to switch between. One where it often advertises and one where the advertising interval is pretty long to save some energy. Just FYI, I am using the nRF Connect SDK. 
 At the moment, I create a second</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Aug 2023 11:37:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102240/changing-advertising-parameters-on-the-fly" /><item><title>RE: Changing advertising parameters on the fly</title><link>https://devzone.nordicsemi.com/thread/439239?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 11:37:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18565efb-d54f-4d1a-b889-2c4b72eb8987</guid><dc:creator>Tib</dc:creator><description>&lt;p&gt;Thanks, this function did the trick.&amp;nbsp;Not sure how I missed it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing advertising parameters on the fly</title><link>https://devzone.nordicsemi.com/thread/439230?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2023 11:09:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6477c04a-b78b-47fa-b4f5-daa1b7d2bddf</guid><dc:creator>Wadite</dc:creator><description>&lt;p&gt;I&amp;#39;m not from nordic&amp;#39;s support, but did you try using &lt;code&gt;bt_le_ext_adv_delete()&lt;/code&gt;&amp;nbsp;and then creating the other set?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/apidoc/latest/group__bt__gap.html#ga62310a27f7fea925dfcf3abd7c454787"&gt;https://docs.zephyrproject.org/apidoc/latest/group__bt__gap.html#ga62310a27f7fea925dfcf3abd7c454787&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Perhaps implement a function that toggles between them by deleting the old set and creating the new one.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>