<?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>Indefinite advertise time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22928/indefinite-advertise-time</link><description>Hi,
I wanted to use Nordi UART service, the problem is that if I have no contraction with the device, it would not advertise after a definite time, say 180 Seconds, my devices are AC mains powered, I just wanted to know How Can I enable them to advertise</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2019 14:06:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22928/indefinite-advertise-time" /><item><title>RE: Indefinite advertise time</title><link>https://devzone.nordicsemi.com/thread/183164?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 14:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61de9995-7f13-4e53-9a6d-884a439b20db</guid><dc:creator>awneil</dc:creator><description>[quote userid="14926" url="~/f/nordic-q-a/22928/indefinite-advertise-time/90197"]If you change the define &lt;code&gt;APP_ADV_TIMEOUT_IN_SECONDS&lt;/code&gt; from 180 to 0, the device should advertise without any timeout[/quote]
&lt;p&gt;Or use&amp;nbsp;BLE_GAP_ADV_TIMEOUT_GENERAL_UNLIMITED&lt;/p&gt;
&lt;p&gt;See:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46515/fast-advertising-slow-advertising-and-indefinite-advertising/183130#183130"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46515/fast-advertising-slow-advertising-and-indefinite-advertising/183130#183130&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Indefinite advertise time</title><link>https://devzone.nordicsemi.com/thread/90197?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 12:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c89d2c5-1da5-4194-81bb-d3bb3b7d5c75</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In most BLE examples in the SDK there is a timeout on avertising set to 180 seconds. When timeout is reached, the example will stop advertising and go to system off mode. You can then restart the device by pressing button 1 on the DK.&lt;/p&gt;
&lt;p&gt;If you change the define &lt;code&gt;APP_ADV_TIMEOUT_IN_SECONDS&lt;/code&gt; from 180 to 0, the device should advertise without any timeout.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>