<?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 update of ble advertising data without stop of advertising (SDK16)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87476/dynamic-update-of-ble-advertising-data-without-stop-of-advertising-sdk16</link><description>Hi, 
 
 I want to know that if it is possible to dynamically update ble advertisement data without stopping the advertisement. (@connectable-advertising) 
 I would appreciate it if you could tell me how to implement it. (Functions used or the order of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 May 2022 14:01:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87476/dynamic-update-of-ble-advertising-data-without-stop-of-advertising-sdk16" /><item><title>RE: Dynamic update of ble advertising data without stop of advertising (SDK16)</title><link>https://devzone.nordicsemi.com/thread/366283?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 14:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fcf80a9-c688-49b1-b082-ddad701373f5</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;And what happens when you try to connect? Have you tried to capture a sniffer trace of that as well?&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dynamic update of ble advertising data without stop of advertising (SDK16)</title><link>https://devzone.nordicsemi.com/thread/366102?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 06:34:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e430220-8c9c-4ff9-89dd-7d59f5896e6c</guid><dc:creator>Asher Kim</dc:creator><description>&lt;p&gt;Thank you for your valuable comments.&lt;/p&gt;
&lt;p&gt;Regarding the advertising operation, it was confirmed that it operates well at a cycle of about 100ms through the nRF Sniffer that you informed us about.&lt;/p&gt;
&lt;p&gt;Also when looking at the current consumption of the Power Profiler, it is judged that the advertising operation is well.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="307" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6523.nrf.png" width="388" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Inside the advertising_init() function, each advertisement data is continuously changed.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="146" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5545.timer.png" width="380" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dynamic update of ble advertising data without stop of advertising (SDK16)</title><link>https://devzone.nordicsemi.com/thread/365994?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 12:49:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:779f19f8-d077-4ac0-9fdb-dadbc23bac34</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;When you decide to connect to a device from a BLE central, the central will just look for the next advertising packet from that peripheral, so as long as you don&amp;#39;t change the BLE address, it shouldn&amp;#39;t matter that you update the advertising packet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could it be that you don&amp;#39;t start the advertising packets right away? Or perhaps your timer interrupts are too short, meaning the advertisements don&amp;#39;t actually start? Have you tried capturing a sniffer trace of the advertisements (&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt;using nRF Sniffer&lt;/a&gt;) to see that the device actually advertises?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dynamic update of ble advertising data without stop of advertising (SDK16)</title><link>https://devzone.nordicsemi.com/thread/365857?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 01:10:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8068a15-311e-462f-9863-3b07171cd59d</guid><dc:creator>Asher Kim</dc:creator><description>&lt;p&gt;Advertising stop is called according to the advertising interval through timer interrupt.&lt;/p&gt;
&lt;p&gt;I am updating the major and minor numbers of ibeacon.&lt;/p&gt;
&lt;p&gt;&amp;quot;connection does not work well&amp;quot; means that when a smartphone using as central tries to connect to nrf52840, the connection fails. Also the shorter advertising interval, the greater the number of failures.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dynamic update of ble advertising data without stop of advertising (SDK16)</title><link>https://devzone.nordicsemi.com/thread/365768?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 12:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:294ed3ea-65df-49b7-8730-0244bfd621e3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]As a result, we have confirmed that the connection does not work well when the adv&amp;nbsp;interval is set to less than 500ms.[/quote]
&lt;p&gt;So how do you do it at this point, and what data do you update when you update?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;connection does not work well&amp;quot;? Is it not possible to connect? Does it take longer time to connect? What are you trying to connect from? Is it a phone that you are using as a central, or another nRF Device?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>