<?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>Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37604/extended-advertising-scannable</link><description>Hi 
 with SDK15 SD140 6.1.0. I&amp;#39;m trying to use BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED with CODED physical. 
 I run the following code 
 
 
 and getting error 10: NRF_ERROR_INVALID_FLAGS . 
 the idea is to have a scan response on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Sep 2018 20:47:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37604/extended-advertising-scannable" /><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/148100?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 20:47:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:626a1a44-99d9-4a09-a58e-90c3cd53f61f</guid><dc:creator>KEITH</dc:creator><description>&lt;p&gt;...Actually,&amp;nbsp;&lt;span&gt;sd_ble_gap_adv_set_configure() retuens an error code&amp;nbsp;&lt;/span&gt;7 when using&amp;nbsp;BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED. I&amp;#39;ll create a seperate thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/148098?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 20:19:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89b2177b-bfc2-43be-90be-1a5c4c899875</guid><dc:creator>KEITH</dc:creator><description>&lt;p&gt;When I use this code,&amp;nbsp; sd_ble_gap_adv_set_configure is returning error code 7.Any suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/147638?ContentTypeID=1</link><pubDate>Thu, 06 Sep 2018 14:37:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aa0ff2c-bdfe-4432-9e13-80e93556f5a8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello, Sorry. I mixed up. Try to define DEBUG in your preprocessor defines, it should give you some more information in the log where the error is coming from.&lt;br /&gt;&lt;br /&gt;If it is not the same issue, please create a new ticket describing the issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/147405?ContentTypeID=1</link><pubDate>Wed, 05 Sep 2018 13:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2da9ebdd-97ca-4d95-95b2-81995b512e07</guid><dc:creator>lolek</dc:creator><description>&lt;p&gt;Hi Edvin&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t reply on your answer but it works perfectly.&lt;/p&gt;
&lt;p&gt;you can mark it as an Answer...&lt;/p&gt;
&lt;p&gt;thanks for the help,&lt;/p&gt;
&lt;p&gt;Lolek&lt;/p&gt;
&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/146691?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 09:17:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c1bb7e8-51a3-409b-8b86-3c122f9f0e9b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;No debug information? Do you still have &amp;quot;DEBUG&amp;quot; defined in your preprocessor defines?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/146633?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 07:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c00e2ac6-175f-44c8-9f15-85b90f01591e</guid><dc:creator>sathish2307</dc:creator><description>&lt;p&gt;hi edvin while uploading using snippet in blinky example its shows fatal&amp;nbsp; error in uart&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/145613?ContentTypeID=1</link><pubDate>Fri, 24 Aug 2018 07:57:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bbe784c-8b85-4c83-82d7-5c423e0e6e88</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am sorry this took a while.&lt;/p&gt;
&lt;p&gt;In the scan response, you shouldn&amp;#39;t use any flags.&lt;/p&gt;
&lt;p&gt;Try the snippet below for extended_adv()&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;///////////////////////////MOD//////////////////////////////////////
static void extended_adv()
{
      ret_code_t err_code;
      ble_advdata_t srdata;


      ble_advdata_t const adv_data =
    {
        .name_type          = BLE_ADVDATA_FULL_NAME,
        //.flags              = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE,
        .include_appearance = false
    };

      err_code = ble_advdata_encode(&amp;amp;adv_data, m_adv_extended_data.scan_rsp_data.p_data, &amp;amp;m_adv_extended_data.scan_rsp_data.len);
      APP_ERROR_CHECK(err_code);
      
      ble_gap_adv_params_t adv_params;

  // Set advertising parameters.
      memset(&amp;amp;adv_params, 0, sizeof(adv_params));

      adv_params.primary_phy = BLE_GAP_PHY_CODED;
      adv_params.secondary_phy = BLE_GAP_PHY_CODED;
      adv_params.p_peer_addr   = NULL,
      adv_params.duration = APP_ADV_DURATION;
      adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED;
      adv_params.scan_req_notification = 1;
      adv_params.interval = APP_ADV_INTERVAL;
      adv_params.filter_policy = BLE_GAP_ADV_FP_ANY;
      err_code = sd_ble_gap_adv_set_configure(&amp;amp;m_adv_handle, &amp;amp;m_adv_extended_data, &amp;amp;adv_params);
      if (err_code != NRF_SUCCESS)
        NRF_LOG_INFO(&amp;quot;failed at configure&amp;quot;);
      APP_ERROR_CHECK(err_code);
      err_code = sd_ble_gap_adv_start(m_adv_handle, APP_BLE_CONN_CFG_TAG);
      APP_ERROR_CHECK(err_code);

}
/////////////////////////MOD END////////////////////////////////////&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/145304?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 12:03:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:952a2d33-7e7e-4ea5-a1db-1eee0cfc97c0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I see the same behavior as you see.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have forwarded the issue to the Softdevice team. I am waiting for their response. I will let you know as soon as I hear anything.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/144989?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 18:10:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f503cf71-3c24-43f5-9591-cee97b8f064a</guid><dc:creator>lolek</dc:creator><description>&lt;p&gt;Hi Edvin.&lt;/p&gt;
&lt;p&gt;Sorry, but I can&amp;#39;t share my code in public.&lt;/p&gt;
&lt;p&gt;instead, I changed Blinky example to include my advertising routine. it fails on the same place with the same error so&amp;nbsp;I think it&amp;#39;s good enough...&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/15787.main.c"&gt;devzone.nordicsemi.com/.../15787.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended Advertising Scannable</title><link>https://devzone.nordicsemi.com/thread/144935?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 12:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7499d2c9-cfba-4b4a-9d2a-03a8bf1c1666</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is it possible to send the entire main.c file, so that I can test this without having to generate my own project? Partly because it is easy, but also partly to avoid any hard-to-discover differences between our projects.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If possible, could you zip the project folder of the project that you use?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>