<?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>Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36365/scan-response-data-to-be-added-to-sdk-ble_app_beacon-example</link><description>How can I add scan response data to the SDK example ble_app_beacon?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Oct 2019 05:40:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36365/scan-response-data-to-be-added-to-sdk-ble_app_beacon-example" /><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/212701?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 05:40:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c79b95c1-65fc-4bb7-8c61-97c46b5a5334</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;The code my Wim has been of great help and I compiled it into a main.c file:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/75018.main.c"&gt;devzone.nordicsemi.com/.../75018.main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Also do not forget to change this in &lt;strong&gt;sdk_config.h&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 1 //was previously 0&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and if you get an error code 0x04 at the below code (you can trace it via debugging):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class="ui-code" data-mode="text"&gt;err_code = nrf_sdh_ble_enable(&amp;amp;ram_start);
APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then you need to change the RAM_START and RAM_SIZE (this link can guide you to it :&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34853/nrf_shd_ble_enable-function-error-code-4-no-memeory-for-operation"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/34853/nrf_shd_ble_enable-function-error-code-4-no-memeory-for-operation&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do not hesitate to ask any information if needed by anyone &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/212566?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2019 11:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c6c1e6a-8033-4da6-884b-a8f417a2910e</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;Added&amp;nbsp;&lt;strong&gt;m_enc_scan_response_data&amp;nbsp;&lt;/strong&gt;by:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;static uint8_t              m_enc_scan_response_data[BLE_GAP_ADV_SET_DATA_SIZE_MAX];&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Also add:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define APP_ADV_INTERVAL                64                                  /**&amp;lt; The advertising interval (in units of 0.625 ms. This value corresponds to 40 ms). */

#define APP_ADV_DURATION                18000 &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;But I am still having an error at :&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    err_code = sd_ble_gap_adv_start(m_adv_handle, APP_BLE_CONN_CFG_TAG);
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;With error code 0x12&lt;br /&gt;&lt;br /&gt;and if I change:&lt;br /&gt;&lt;br /&gt;#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 1&amp;nbsp; &amp;nbsp;//was 0 - AUAK in sdk_config.h&lt;br /&gt;&lt;br /&gt;It gives an error at:&lt;br /&gt;&lt;br /&gt; &lt;pre class="ui-code" data-mode="text"&gt;    err_code = nrf_sdh_ble_enable(&amp;amp;ram_start);
    APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;with error code = 0x04&lt;br /&gt;&lt;br /&gt;Would greatly appreciate help on this and do not hesitate to clarify any information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/212533?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2019 11:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db005216-33fb-40ba-ac8d-fdf101e3707e</guid><dc:creator>Ameer Usman</dc:creator><description>&lt;p&gt;In this code when it says&lt;strong&gt; m_enc_scan_response_data&amp;nbsp;&lt;/strong&gt;is undeclared.&lt;/p&gt;
&lt;p&gt;If possible can you please share your main.c file, would greatly help indeed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/146543?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 14:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36de0c50-3458-4775-8628-33e3d7cba859</guid><dc:creator>Wim</dc:creator><description>&lt;p&gt;Also do not forget to change these lines (if not yet done):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static ble_gap_adv_data_t m_adv_data =
{
    .adv_data =
    {
        .p_data = m_enc_advdata,
        .len    = BLE_GAP_ADV_SET_DATA_SIZE_MAX
    },
    .scan_rsp_data =
    {
        .p_data = m_enc_scan_response_data, //was NULL,
        .len    = BLE_GAP_ADV_SET_DATA_SIZE_MAX // was 0

    }
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/146530?ContentTypeID=1</link><pubDate>Thu, 30 Aug 2018 13:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b34e4a5-fed1-4453-a35a-257174d77cd8</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Thanks for sharing your solution, so that others might benefit from it.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/146345?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 14:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7020247b-982a-4932-a4d9-ac7158ae8aaa</guid><dc:creator>Wim</dc:creator><description>&lt;p&gt;I forgot a few lines of code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define APP_BEACON_INFO_LENGTH          0x17                               /**&amp;lt; Total length of information advertised by the Beacon. */
#define APP_ADV_DATA_LENGTH             0x15                               /**&amp;lt; Length of manufacturer specific data in the advertisement. */
#define APP_DEVICE_TYPE                 0x02                               /**&amp;lt; 0x02 refers to Beacon. */
#define APP_MEASURED_RSSI               0xC3                               /**&amp;lt; The Beacon&amp;#39;s measured RSSI at 1 meter distance in dBm. */
#define APP_COMPANY_IDENTIFIER          0x0059                             /**&amp;lt; Company identifier for Nordic Semiconductor ASA. as per www.bluetooth.org. */
#define APP_MAJOR_VALUE                 0x01, 0x02                         /**&amp;lt; Major value used to identify Beacons. */
#define APP_MINOR_VALUE                 0x03, 0x04                         /**&amp;lt; Minor value used to identify Beacons. */
#define APP_BEACON_UUID                 0x01, 0x12, 0x23, 0x34, \
                                        0x45, 0x56, 0x67, 0x78, \
                                        0x89, 0x9a, 0xab, 0xbc, \
                                        0xcd, 0xde, 0xef, 0xf0            /**&amp;lt; Proprietary UUID for Beacon. */
#define MAJ_VAL_OFFSET_IN_BEACON_INFO   18                                 /**&amp;lt; Position of the MSB of the Major Value in m_beacon_info array. */

static uint8_t m_beacon_info[APP_BEACON_INFO_LENGTH] =                    /**&amp;lt; Information advertised by the Beacon. */
{
    APP_DEVICE_TYPE,     // Manufacturer specific information. Specifies the device type in this
                         // implementation.
    APP_ADV_DATA_LENGTH, // Manufacturer specific information. Specifies the length of the
                         // manufacturer specific data in this implementation.
    APP_BEACON_UUID,     // 128 bit UUID value.
    APP_MAJOR_VALUE,     // Major arbitrary value that can be used to distinguish between Beacons.
    APP_MINOR_VALUE,     // Minor arbitrary value that can be used to distinguish between Beacons.
    APP_MEASURED_RSSI    // Manufacturer specific information. The Beacon&amp;#39;s measured TX power in
                         // this implementation.
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/146337?ContentTypeID=1</link><pubDate>Wed, 29 Aug 2018 13:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27d871ed-f0f6-4994-a522-dd52492cbd64</guid><dc:creator>Wim</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;I was looking how to program:&lt;/p&gt;
&lt;p&gt;- iBeacon (to be recognized by iOS)&lt;/p&gt;
&lt;p&gt;- with scan response data (for additional measurement or other data)&lt;/p&gt;
&lt;p&gt;- and connectable (to act as normal BLE peripheral)&lt;/p&gt;
&lt;p&gt;I succeeded (after combining your info and single stepping through some code)&lt;/p&gt;
&lt;p&gt;Here is my example:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void advertising_init(void)
{
    uint32_t    err_code;
    uint8_t index;
    uint8_t ch_array[10];
    uint16_t major_value;
    uint16_t minor_value;
    ble_advdata_t advdata;
    ble_advdata_t srdata;
    ble_advdata_manuf_data_t manuf_specific_data;
    ble_advdata_service_data_t service_data_array;

    //Compose iBeacon data. Put the measurement data as major_value and minor_value
    manuf_specific_data.company_identifier = APP_COMPANY_IDENTIFIER; //Apple iBeacon. Others are not recognized by iOS
    index = MAJ_VAL_OFFSET_IN_BEACON_INFO;
    m_beacon_info[index++] = 0xab;//MSB_16(major_value);
    m_beacon_info[index++] = 0xcd;//LSB_16(major_value);
    m_beacon_info[index++] = 0xef;//MSB_16(minor_value);
    m_beacon_info[index++] = MyTime; //LSB_16(minor_value);
    manuf_specific_data.data.p_data = (uint8_t *) m_beacon_info;
    manuf_specific_data.data.size   = APP_BEACON_INFO_LENGTH;

    // Build and set advertising data: flags, manufacturer_specific_data
    memset(&amp;amp;advdata, 0, sizeof(advdata));
    advdata.name_type             = BLE_ADVDATA_NO_NAME; //name will be included in scan response data
    advdata.flags                 = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
    advdata.p_manuf_specific_data = &amp;amp;manuf_specific_data;

    // Build and set scan response data: name, service_data
    memset(&amp;amp;srdata, 0, sizeof(srdata));
    srdata.name_type             = BLE_ADVDATA_SHORT_NAME;
    srdata.short_name_len = 3; // Advertise only first 3 letters of name
    ch_array[0] = 0; //eight interesting bytes
    ch_array[1] = 1;
    ch_array[2] = 2;
    ch_array[3] = 3;
    ch_array[4] = 4;
    ch_array[5] = 5;
    ch_array[6] = 6;
    ch_array[7] = 7;
    service_data_array.service_uuid = 0x5678; //16 bit UUID still TBD
    service_data_array.data.size = 8; 
    service_data_array.data.p_data = ch_array; 
    srdata.service_data_count = 1;
    srdata.p_service_data_array = &amp;amp;service_data_array;

    // Initialize advertising parameters (used when starting advertising).
    memset(&amp;amp;m_adv_params, 0, sizeof(m_adv_params));
    m_adv_params.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED;
    m_adv_params.p_peer_addr     = NULL;    // Undirected advertisement.
    m_adv_params.filter_policy   = BLE_GAP_ADV_FP_ANY;
    m_adv_params.interval        = NON_CONNECTABLE_ADV_INTERVAL;
    m_adv_params.duration        = 0;       // Never time out.
    m_adv_params.primary_phy     = BLE_GAP_PHY_1MBPS;
    m_adv_params.duration        = APP_ADV_DURATION;
    m_adv_params.interval        = APP_ADV_INTERVAL;

    //First encode the advertisement data
    err_code = ble_advdata_encode(&amp;amp;advdata, m_adv_data.adv_data.p_data, &amp;amp;m_adv_data.adv_data.len);
    APP_ERROR_CHECK(err_code);
    //Now encode the scan response data
    err_code = ble_advdata_encode(&amp;amp;srdata, m_adv_data.scan_rsp_data.p_data, &amp;amp;m_adv_data.scan_rsp_data.len);
    APP_ERROR_CHECK(err_code);

    err_code = sd_ble_gap_adv_set_configure(&amp;amp;m_adv_handle, &amp;amp;m_adv_data, &amp;amp;m_adv_params);
    APP_ERROR_CHECK(err_code);
    
    nrf_gpio_pin_toggle(NRF_GPIO_PIN_MAP(0, 30));
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now my advertisement data is:&lt;/p&gt;
&lt;p&gt;02:01:06:1A:FF:59:00:02:15:01:12:23:34:45:56:67:78:89:9A:AB:BC:CD:DE:EF:F0:AB:CD:EF:00:C3&lt;/p&gt;
&lt;p&gt;And the scna response data is:&lt;/p&gt;
&lt;p&gt;0B:16:78:56:00:01:02:03:04:05:06:07:04:08:45:50:50&lt;/p&gt;
&lt;p&gt;I hope it can help other programmers.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Wim&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/142463?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 15:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82c2052b-ab88-4e98-b2ae-7a301a1da3b9</guid><dc:creator>Joakim Jakobsen</dc:creator><description>[quote user="Wim"]Where can I change the first 14 bytes? Is that a 128 bit UUID? Where is it set?[/quote]
&lt;p&gt;One of my colleagues has made&lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt; custom service tutorial&lt;/a&gt; available on github. &lt;/p&gt;
&lt;p&gt;This tutorial is updated to SDK v15.0.0 and you could take a look at that to a better understanding on how the UUID is added to the BLE stack.&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/142462?ContentTypeID=1</link><pubDate>Wed, 01 Aug 2018 15:41:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13cbfc88-fe1e-4b5c-a8f0-a16d1ee8d4ef</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Not sure what you are trying to acheive here?&lt;/p&gt;
&lt;p&gt;Do you want to change the 128-bit UUID that is already added to the BLE stack&amp;#39;s table?&lt;/p&gt;
&lt;p&gt;You can take a look at the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/structble__advdata__t.html" target="_blank" rel="noopener noreferrer"&gt;ble_advdata_t struct&lt;/a&gt; to see which data can be added to the scan response data.&lt;/p&gt;
&lt;p&gt;As an example:&lt;/p&gt;
&lt;p&gt;If we want to transmit the TX-power level in the scan response packet (And not the Vendor Specific UUID) of the ble_app_uart example:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void advertising_init(void)
{
    uint32_t               err_code;
    ble_advertising_init_t init;
    int8_t tx_power = -4;

    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.srdata.p_tx_power_level =  &amp;amp;tx_power; 

    init.config.ble_adv_fast_enabled  = true;
    init.config.ble_adv_fast_interval = APP_ADV_INTERVAL;
    init.config.ble_adv_fast_timeout  = APP_ADV_DURATION;
    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;Let me know if I misunderstood something or you&amp;nbsp; have further questions.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/141668?ContentTypeID=1</link><pubDate>Fri, 27 Jul 2018 12:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3558fe6-7d36-42f1-97d9-850e9f0e65ee</guid><dc:creator>Wim</dc:creator><description>&lt;p&gt;But in that way, I can only change the bytes &amp;quot;01:00&amp;quot; at the end of the scan response data.&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;static ble_uuid_t m_adv_uuids[] =&amp;nbsp;&amp;nbsp; /**&amp;lt; Universally unique service identifier. */&lt;br /&gt;{&lt;br /&gt;//original: &amp;nbsp;&amp;nbsp; {BLE_UUID_NUS_SERVICE, NUS_SERVICE_UUID_TYPE}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {0x5678, NUS_SERVICE_UUID_TYPE} //Now 78:56 in the scan response data&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;Where can I change the first 14 bytes? Is that a 128 bit UUID? Where is it set?&lt;/p&gt;
&lt;p&gt;(I looked at your tutorial, but the API&amp;#39;s of the older SDKs are different from version 15. And the older SDKs have no support for Segger Embedded Studio)&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/141102?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 08:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fa11be1-4f03-424a-9406-37a6552e613e</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;If you take a look at line 613-614 of the main.c file.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-55f17e7589c94388b6ce0b4e2111d389/scanresponse.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The ble_app_uart adds the 128-bit UUID to the scan response packet.&lt;/p&gt;
&lt;p&gt;If you didn&amp;#39;t already, I would suggest that you take a look at the tutorial I referred to in my previous answer.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/140490?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 08:55:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c43ba7c-6403-4be0-86d0-6d8096174042</guid><dc:creator>Wim</dc:creator><description>&lt;p&gt;I have looked into the ble_app_uart example, but I cannot find the line(s) where the scan response data is set.&lt;/p&gt;
&lt;p&gt;I receive&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Advertisement data:&amp;nbsp;&amp;nbsp;&amp;nbsp; 02:01:05:0C:09:4E:6F:72:64:69:63:5F:55:41:52:54&amp;nbsp;&amp;nbsp; (here at the end is Nordic_UART)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scan response data: 11:07:9E:CA:DC:24:0E:E5:A9:E0:93:F3:A3:B5:01:00:40:6E&lt;/p&gt;
&lt;p&gt;But where is the scan response data in the code?&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/140479?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 06:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c002ced-bc4e-4635-935a-4574c88f69da</guid><dc:creator>Wim</dc:creator><description>&lt;p&gt;I use SDK 15.0.0,&amp;nbsp; softdevice S132, board nRF6827 Rev. 1.2.1 (nRF52 Development kit), PCA 10040, Segger embedded studio for ARM Release 3.34a&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan response data to be added to SDK ble_app_beacon example</title><link>https://devzone.nordicsemi.com/thread/140417?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 14:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fea4b33-8a7a-4cc9-ba28-86e29a5aaad3</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;The approach might vary depending on what version of the SDK you are working with.&lt;/p&gt;
&lt;p&gt;Maybe you could provide a little more information?&lt;/p&gt;
&lt;p&gt;SDK version, what device, softdevice version etc. is useful information to add in your questions.&lt;/p&gt;
&lt;p&gt;However, you can take a look at our &lt;a href="https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-advertising-a-beginners-tutorial" target="_blank" rel="noopener noreferrer"&gt;advertising tutorial&lt;/a&gt;, and the chapter about the Scan response data.&lt;br /&gt;The tutorial is from one of the older SDK but the approach will be similiar. &lt;/p&gt;
&lt;p&gt;Also, the ble_app_uart example adds data to the scan reponse packet, so you can get an idea of how it&amp;#39;s done.&lt;/p&gt;
&lt;p&gt;Let me know if you have any further questions.&lt;br /&gt;Best regards, &lt;br /&gt;Joakim.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>