<?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>SDK15 How to set scan data?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34923/sdk15-how-to-set-scan-data</link><description>Hi, 
 I have migrated from SDK14.1 to SDK15. 
 One thing is embarrassing me. 
 
 
 
 I would like to modify the scan data as above, I do not know where I can fix it. 
 phy can be modified in the m_scan_params variable, I know that the MTU Size can be</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 May 2018 13:13:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34923/sdk15-how-to-set-scan-data" /><item><title>RE: SDK15 How to set scan data?</title><link>https://devzone.nordicsemi.com/thread/134196?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 13:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33debced-36a5-43c4-9e9f-545cfb2d385c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Event length extension is set within the function nrf_sdh_ble_default_cfg_set(); which is typically called from main.c, and is defined in nrf_sdh_ble.c.&lt;/p&gt;
&lt;p&gt;It uses the define&amp;nbsp;NRF_SDH_BLE_GAP_EVENT_LENGTH from sdk_config.h, so&amp;nbsp;that (sdk_config.h) is where you should modify your event length.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To update the data length extension, see the function&amp;nbsp;sd_ble_gap_data_length_update(). It is also used in many of the examples. Documentation for the function is found on &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v6.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=gac4a6ef5c106107eb2a1707bb26f3245c" target="_blank" rel="noopener noreferrer"&gt;infocenter&lt;/a&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></channel></rss>