<?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>Failure to transmit scan response data package.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49418/failure-to-transmit-scan-response-data-package</link><description>Dear all, 
 
 I have been struggling with updating my advertisement data package in SDK15. Using Jimmy Wongs&amp;#39;s example ( https://github.com/jimmywong2003/nrf5-modify-device-parameter-through-host/blob/modify_non_connectable_advertising/ble_app_change_advertising_example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Jul 2019 10:36:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49418/failure-to-transmit-scan-response-data-package" /><item><title>RE: Failure to transmit scan response data package.</title><link>https://devzone.nordicsemi.com/thread/197327?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2019 10:36:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3229b878-17f8-40aa-9655-bb06a7fbb234</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;If the issue is resolved, please verify the answer :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure to transmit scan response data package.</title><link>https://devzone.nordicsemi.com/thread/197285?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2019 08:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3711f048-1e8d-4caa-a62c-bd5ae94bce3e</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;p&gt;You are correct. It completely slipped my attention, but the issue is the type.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Instead of &lt;pre class="ui-code" data-mode="c_cpp"&gt;m_adv_params.properties.type = BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;it should be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;m_adv_params.properties.type = BLE_GAP_ADV_TYPE_NONCONNECTABLE_SCANNABLE_UNDIRECTED;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure to transmit scan response data package.</title><link>https://devzone.nordicsemi.com/thread/196889?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2019 15:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79450be0-9e83-4343-922d-0d18555871ea</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group__nrf__error.html#ga0a5831cf5092e0dd43a01869676ee076"&gt;NRF_ERROR_INVALID_PARAM&lt;/a&gt;&amp;nbsp;returned from &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#ga9969047f4e7485c3f856c841978cc31a" rel="noopener noreferrer" target="_blank"&gt;sd_ble_gap_adv_set_configure()&lt;/a&gt;&lt;span&gt;&amp;nbsp;means:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Invalid parameter(s) supplied:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Invalid advertising data configuration specified. See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.0/structble__gap__adv__data__t.html"&gt;ble_gap_adv_data_t&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Invalid configuration of p_adv_params. See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.0/structble__gap__adv__params__t.html"&gt;ble_gap_adv_params_t&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Use of whitelist requested but whitelist has not been set, see&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.0/group___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html#gacdd2dd570000368dd5c29d799c198779"&gt;sd_ble_gap_whitelist_set&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Have a look at this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35030/set-a-device-name-in-beacon-example-sdk-15" rel="noopener noreferrer" target="_blank"&gt;post&lt;/a&gt;,&amp;nbsp;it shows how you can set up the scan response. There are more cases regarding the scan response on the forum, try using the search function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>