<?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>Dynamic update of gap event length</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81565/dynamic-update-of-gap-event-length</link><description>Hi, 
 Is it possible to update the NRF_SDH_BLE_GAP_EVENT_LENGTH on run time in ble uart example? 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Nov 2021 13:17:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81565/dynamic-update-of-gap-event-length" /><item><title>RE: Dynamic update of gap event length</title><link>https://devzone.nordicsemi.com/thread/338583?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 13:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f74e08e-dce1-4baa-8aa6-8df4a0130796</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The ble_app_aurt example doesn&amp;#39;t do this out of the box, but you can change the event length by using different BLE stack configurations using the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html?cp=4_7_4_1_2_0_2_2_0#ga4edae2bac8c68b672c0fa101ed2c687f"&gt;sd_ble_cfg_set(..)&lt;/a&gt; function, and then switch between the configurations dynamically when you start advertising.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can not change this in the middle of a connection unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>