<?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>Advertising with no timeout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/494/advertising-with-no-timeout</link><description>Hi, 
 I&amp;#39;m developing an app which requires continuous advertising. I use following ble_gap_adv_params_t: 
 ble_gap_adv_params_t adv_params;
 memset(&amp;amp;adv_params, 0, sizeof(adv_params));
 
 adv_params.type = BLE_GAP_ADV_TYPE_ADV_IND;
 adv_params.p_peer_addr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Jul 2018 12:46:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/494/advertising-with-no-timeout" /><item><title>RE: Advertising with no timeout</title><link>https://devzone.nordicsemi.com/thread/139724?ContentTypeID=1</link><pubDate>Wed, 11 Jul 2018 12:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecf3c479-8fd0-4678-ba95-8998569e64bf</guid><dc:creator>Joao Teixeira</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;P&amp;aring;l&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;The limited discoverable mode is not allowed to advertise longer than a certain period of time.&lt;/span&gt;&amp;quot;&lt;br /&gt;Can you reveal the maximal period of time that this mode permits?&lt;/p&gt;
&lt;p&gt;Beste Regards, Joao&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising with no timeout</title><link>https://devzone.nordicsemi.com/thread/139445?ContentTypeID=1</link><pubDate>Mon, 09 Jul 2018 15:35:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81c17366-bc2a-49ee-9f2f-4704fa3fbe21</guid><dc:creator>brian fleming</dc:creator><description>&lt;p&gt;This answer worked for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising with no timeout</title><link>https://devzone.nordicsemi.com/thread/2595?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2013 08:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56fec0c0-1f78-4d5c-bcd9-59647dca5e49</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;Hi Maciej,&lt;/p&gt;
&lt;p&gt;Do you think you could set one of the answers as accepted answer, as this will help others finding a solution to their symptom of a problem.&lt;/p&gt;
&lt;p&gt;(They would see that this question have been solved)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising with no timeout</title><link>https://devzone.nordicsemi.com/thread/2594?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2013 07:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:159f6b10-f3fb-4465-b673-a77db36f98ab</guid><dc:creator>Maciej Baster</dc:creator><description>&lt;p&gt;Carles, Pål&lt;/p&gt;
&lt;p&gt;Thank you for your quick response. You were right. I was advertising with BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE. After changing it to BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE no error is returned when I try to set timeout value to zero. Thanks once again!&lt;/p&gt;
&lt;p&gt;Best regards,
Maciej&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising with no timeout</title><link>https://devzone.nordicsemi.com/thread/2593?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2013 06:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d32b2f35-f6b9-4acf-af42-99248db0df50</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;Hi Maciej,&lt;/p&gt;
&lt;p&gt;This could happen if you have set the flags in the advertisement data to be BLE_GAP_ADV_FLAG_LE_LIMITED_DISC_MODE. The limited discoverable mode is not allowed to advertise longer than a certain period of time.&lt;/p&gt;
&lt;p&gt;In undiscoverable mode and general discoverable mode this should not be an issue.&lt;/p&gt;
&lt;p&gt;BR
Pål&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising with no timeout</title><link>https://devzone.nordicsemi.com/thread/2592?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2013 06:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c589e7a-8364-47e2-9571-ecae3b1d7215</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you set the advertisement data first with:&lt;/p&gt;
&lt;p&gt;sd_ble_gap_adv_data_set()&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
&lt;p&gt;You will need to do that first so that the stack knows what adv flags you intend to use, and check whether those are compatible with unlimited advertising.&lt;/p&gt;
&lt;p&gt;Carles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>