<?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>BLE stops advertising randomly</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102702/ble-stops-advertising-randomly</link><description>Hi, 
 We have developed application with the below services in NRF connect SDK: 2.4.0 
 1. MESH Provisioning/proxy service 
 2. Nordic uart service 
 3. SMP service 
 when we power cycle the Bluetooth then every works fine. it advertises the device name</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Aug 2023 11:44:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102702/ble-stops-advertising-randomly" /><item><title>RE: BLE stops advertising randomly</title><link>https://devzone.nordicsemi.com/thread/440714?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2023 11:44:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69a9be6c-898e-4193-a4b6-ac5b0fe47775</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Ram&lt;/p&gt;
&lt;p&gt;It would be very helpful if you can post the logs from the device so we can see what is happening.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Not that I can recall, you need to set CONFIG_BT_PER_ADV=y in prj.conf to enable it. However the interval is set the main file as you can see in this &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/c9d01d05ce83a8cec0fd60bf8e2ba27c1534d08f/samples/bluetooth/periodic_adv"&gt;example&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. I&amp;#39;m not sure what you mean by chat mesh sdk? You wrote earlier you are using NCS 2.4.0&lt;/p&gt;
&lt;p&gt;3. The device don&amp;#39;t go into sleep by default.&amp;nbsp; Nor does BLE advertisements time out by default in NCS, so the logs would be very helpful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could it be that some other device connects to your device? That would stop the advertisement.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>