<?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>nrf52 Advertising Extensions S132 6.1.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57071/nrf52-advertising-extensions-s132-6-1-1</link><description>Hi, 
 I&amp;#39;m currently trying to use advertising extensions with my nrf52832. However once I use the 
 
 BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED 
 
 type for the ble_gap_adv_params_t properties I get an error at sd_ble_gap_adv_set_configure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jan 2020 14:09:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57071/nrf52-advertising-extensions-s132-6-1-1" /><item><title>RE: nrf52 Advertising Extensions S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/231432?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 14:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bce1a8a-639e-487b-80d6-abedee935fed</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not see any problem with these parameters. Could it be something with the advertising data? (that is also checked by the SoftDevice). Can you upload a completed project so that I can test on my side with the exact same settings and advertising data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 Advertising Extensions S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/231403?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 12:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03f9c632-3fc7-467b-87a0-72ffb07f7c5e</guid><dc:creator>bernerj</dc:creator><description>&lt;p&gt;Yeah I already took a look at that but it uses a different configuration approach. I would like to use the&amp;nbsp;&lt;span&gt;ble_gap_adv_params_t so I can keep my already made project structure. I do indeed get the&amp;nbsp;NRF_INVALID_PARAMS error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ble_gap_adv_params_t adv_para =
  {
    .properties    = { .type = _type, .anonymous  = 0 },
    .p_peer_addr   = NULL                     , // Undirected advertisement
    .interval      = interval                 , // advertising interval (in units of 0.625 ms)
    .duration      = (uint16_t) (timeout*100) , // in 10-ms unit

    .max_adv_evts  = 0                        , // TODO can be used for fast/slow mode
    .channel_mask  = { 0, 0, 0, 0, 0 }        , // 40 channel, set 1 to disable
    .filter_policy = BLE_GAP_ADV_FP_ANY       ,

    .primary_phy   = BLE_GAP_PHY_AUTO         , // 1 Mbps will be used
    .secondary_phy = BLE_GAP_PHY_AUTO         , // 1 Mbps will be used
      // , .set_id, .scan_req_notification
  };

  // gap_adv long-live is required by SD v6
  static ble_gap_adv_data_t gap_adv =
  {
      .adv_data      = { .p_data = _data, .len = _count },
      .scan_rsp_data = { .p_data = getData(), .len = sr.count() }
  };
  ret = sd_ble_gap_adv_set_configure(&amp;amp;_hdl, &amp;amp;gap_adv, &amp;amp;adv_para);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;that&amp;#39;s the way I setup my advertisements. _type is&amp;nbsp;BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 Advertising Extensions S132 6.1.1</title><link>https://devzone.nordicsemi.com/thread/231394?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 12:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ab8b77-6b89-4995-8c50-fdac6e30f830</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are not many SDK examples of extended advertising, but you can refer to the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_rsc.html"&gt;Running Speed and Cadence Application&lt;/a&gt;&amp;nbsp;(this uses the advertising module though, and not SD APIs directly).&lt;/p&gt;
&lt;p&gt;There are quite a few limitations in what combinations are allowed when using extended advertising, and any illegal combination will give you an&amp;nbsp;NRF_INVALID_PARAMS return value. I assume that is what you get? You can refer to&amp;nbsp;BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 6, Part B, Section 2.3 for the details. Which exact configuration do you use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>