<?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>How to limit the advertising time?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17113/how-to-limit-the-advertising-time</link><description>Hi 
 I am trying to start an advertise. If I use the “BLE_GAP_ADV_FLAG_BR_EDR_NOT_SUPPORTED” flag all work’s pretty fine, but whenever I change the flag to “BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE” I receive the error code 7, after using the function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Oct 2016 07:05:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17113/how-to-limit-the-advertising-time" /><item><title>RE: How to limit the advertising time?</title><link>https://devzone.nordicsemi.com/thread/65678?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2016 07:05:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd3dffe2-0841-4908-9c09-cba9b644e502</guid><dc:creator>LuckyLukas</dc:creator><description>&lt;p&gt;ohh.... i am so sorry... i got it. i can change the timeout time in my struct. after i changed the timeout from 0 (timeout disabled) to 30 (in seconds), i dont get any error massages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to limit the advertising time?</title><link>https://devzone.nordicsemi.com/thread/65676?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2016 07:00:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19ca23b3-514b-464c-a7e3-0bda3abe59f4</guid><dc:creator>LuckyLukas</dc:creator><description>&lt;p&gt;i am not sure, but isnt APP_ADV_TIMEOUT_IN_SECONDS only for sdk 11? i use sdk 12.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to limit the advertising time?</title><link>https://devzone.nordicsemi.com/thread/65677?ContentTypeID=1</link><pubDate>Mon, 17 Oct 2016 16:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cff4636-c58c-4f31-b945-003a7ba16c24</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If you want to reduce the advertising timeout, you need to reduce the &lt;code&gt;APP_ADV_TIMEOUT_IN_SECONDS&lt;/code&gt; in main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>