<?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>Dose nRF52810 support Non connectable Scannable advertising?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48239/dose-nrf52810-support-non-connectable-scannable-advertising</link><description>Hello, 
 I am using custom board with nRF52810 (QCAA, QFN32), SDK14.2, and softdevice S112 v5.1.0/S132 v 51.10 according to the compatability matrix. I am programing the board to advertise as Non connectable - Scannable (BLE_GAP_ADV_TYPE_ADV_SCAN_IND</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Jun 2019 07:17:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48239/dose-nrf52810-support-non-connectable-scannable-advertising" /><item><title>RE: Dose nRF52810 support Non connectable Scannable advertising?</title><link>https://devzone.nordicsemi.com/thread/191510?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2019 07:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50e8a526-9d2d-4816-9941-0cee0206132a</guid><dc:creator>awneil</dc:creator><description>[quote userid="51571" url="~/f/nordic-q-a/48239/dose-nrf52810-support-non-connectable-scannable-advertising/191490"]it is working[/quote]
&lt;p&gt;Excellent! Now please verify the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5531._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dose nRF52810 support Non connectable Scannable advertising?</title><link>https://devzone.nordicsemi.com/thread/191490?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2019 02:53:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30533f06-f15d-4a19-975b-f13267e91cb2</guid><dc:creator>krirk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Many thanks to both of you. I have migrated my code to SDK15.3, and it is working as intended now.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;krirk&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dose nRF52810 support Non connectable Scannable advertising?</title><link>https://devzone.nordicsemi.com/thread/191324?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 11:32:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8642d2b7-8db4-4f08-85cd-b5275d9b8800</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How does your&amp;nbsp;advertising_init() function look like ? Do you place any data in the&amp;nbsp;srdata field?&lt;/p&gt;
&lt;p&gt;In ble_app_uart example we put the UUID in the srdata like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void advertising_init(void)
{
    uint32_t               err_code;
    ble_advertising_init_t init;

    memset(&amp;amp;init, 0, sizeof(init));

    init.advdata.name_type          = BLE_ADVDATA_FULL_NAME;
    init.advdata.include_appearance = false;
    init.advdata.flags              = BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE;

    init.srdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);
    init.srdata.uuids_complete.p_uuids  = m_adv_uuids;

    init.config.ble_adv_fast_enabled  = true;
    init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;
    init.config.ble_adv_fast_timeout  = APP_ADV_TIMEOUT_IN_SECONDS;

    init.evt_handler = on_adv_evt;

    err_code = ble_advertising_init(&amp;amp;m_advertising, &amp;amp;init);
    APP_ERROR_CHECK(err_code);

    ble_advertising_conn_cfg_tag_set(&amp;amp;m_advertising, APP_BLE_CONN_CFG_TAG);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you have data in&amp;nbsp;&lt;span&gt;srdata and doing scannable advertising, the SD will&amp;nbsp;respond with the srdata to the central. You will not&amp;nbsp;automatically get the event&amp;nbsp;BLE_GAP_EVT_SCAN_REQ_REPORT when this happens, this is something that you need to&amp;nbsp;explicitly enable, for v5.1.0, with &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s112.api.v5.1.0/group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html?cp=3_4_0_4_2_0_2_2_4#ga511d431bc3d9ccf9bef09ad20cbf855a"&gt;sd_ble_opt_set()&lt;/a&gt;. You can e.g. put this at the end of&amp;nbsp;advertising_init() function:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;ble_opt_t ble_options;
memset(&amp;amp;ble_options, 0, sizeof(ble_options));
ble_options.gap_opt.scan_req_report.enable = 1;
err_code = sd_ble_opt_set(BLE_GAP_OPT_SCAN_REQ_REPORT, &amp;amp;ble_options);
APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dose nRF52810 support Non connectable Scannable advertising?</title><link>https://devzone.nordicsemi.com/thread/191280?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 09:23:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:472e1795-f946-4a71-9fc5-12234a3ebba8</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;In SDK 15.3.0, The available advertising types are in &lt;strong&gt;ble_gap.h&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@defgroup BLE_GAP_ADV_TYPES GAP Advertising types
 *
 * Advertising types defined in Bluetooth Core Specification v5.0, Vol 6, Part B, Section 4.4.2.
 *
 * The maximum advertising data length is defined by @ref BLE_GAP_ADV_SET_DATA_SIZE_MAX.
 * The maximum supported data length for an extended advertiser is defined by
 * @ref BLE_GAP_ADV_SET_DATA_SIZE_EXTENDED_MAX_SUPPORTED
 * Note that some of the advertising types do not support advertising data. Non-scannable types do not support
 * scan response data.
 *
 * @{ */
#define BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED                   0x01   /**&amp;lt; Connectable and scannable undirected
                                                                                        advertising events. */
#define BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED_HIGH_DUTY_CYCLE  0x02   /**&amp;lt; Connectable non-scannable directed advertising
                                                                                        events. Advertising interval is less that 3.75 ms.
                                                                                        Use this type for fast reconnections.
                                                                                        @note Advertising data is not supported. */
#define BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED                  0x03   /**&amp;lt; Connectable non-scannable directed advertising
                                                                                        events.
                                                                                        @note Advertising data is not supported. */
#define BLE_GAP_ADV_TYPE_NONCONNECTABLE_SCANNABLE_UNDIRECTED                0x04   /**&amp;lt; Non-connectable scannable undirected
                                                                                        advertising events. */
#define BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED             0x05   /**&amp;lt; Non-connectable non-scannable undirected
                                                                                        advertising events. */
#define BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED       0x06   /**&amp;lt; Connectable non-scannable undirected advertising
                                                                                        events using extended advertising PDUs. */
#define BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED         0x07   /**&amp;lt; Connectable non-scannable directed advertising
                                                                                        events using extended advertising PDUs. */
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED       0x08   /**&amp;lt; Non-connectable scannable undirected advertising
                                                                                        events using extended advertising PDUs.
                                                                                        @note Only scan response data is supported. */
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_DIRECTED         0x09   /**&amp;lt; Non-connectable scannable directed advertising
                                                                                        events using extended advertising PDUs.
                                                                                        @note Only scan response data is supported. */
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED    0x0A   /**&amp;lt; Non-connectable non-scannable undirected advertising
                                                                                        events using extended advertising PDUs. */
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_DIRECTED      0x0B   /**&amp;lt; Non-connectable non-scannable directed advertising
                                                                                        events using extended advertising PDUs. */
/**@} */
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But the &amp;#39;Advertising&amp;#39; module in the SDK does not allow non-connectable advertising - you have to do it &amp;quot;manually&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47391/sdk-15-3-0-restart-non-connectable-advertising-after-timeout/188008#188008"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47391/sdk-15-3-0-restart-non-connectable-advertising-after-timeout/188008#188008&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;Sorry - missed your SDK version!&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;is totally different in earlier SDK versions - may not be applicable to your version, 14.2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>