<?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>nrf52832 stopped advertsing after some time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77429/nrf52832-stopped-advertsing-after-some-time</link><description>hello, 
 i am using nrf52832 with sdk 15.2 using ble_app_uart example and my beacon stops axdvertsing after sometime can someone help me how can make it advertise continosuly my advertsing init function looks like this 
 void advertising_init(void) {</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Jul 2021 11:19:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77429/nrf52832-stopped-advertsing-after-some-time" /><item><title>RE: nrf52832 stopped advertsing after some time</title><link>https://devzone.nordicsemi.com/thread/319770?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 11:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dbf459f-5a78-4c08-bded-8e9c476d5d94</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]i am using nrf52832 with sdk 15.2 using ble_app_uart example and my beacon stops axdvertsing after sometime can someone help me how can make it advertise continosuly my advertsing init function looks like this[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please elaborate on the behavior you are seeing. Does the device reset when advertising stops? Does it happen after having advertised for a specific time every time? Do you see any other unexpected behavior when this happens?&lt;/p&gt;
[quote user=""]adv_params.duration = APP_ADV_DURATION;[/quote]
&lt;p&gt;What is the value of your APP_ADV_DURATION define? It should be 0 to configure continuous advertising.&lt;br /&gt;&lt;br /&gt;For future reference, please use the&amp;nbsp;&lt;em&gt;Insert -&amp;gt; Code&amp;nbsp;&lt;/em&gt;option when sharing code here on DevZone. It drastically increases the readability of your code.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>