<?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>Changing the GAP parameters and advertising interval at run time from Peripheral device side(which is advertising)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56969/changing-the-gap-parameters-and-advertising-interval-at-run-time-from-peripheral-device-side-which-is-advertising</link><description>Hi Nordic Team, 
 In my BLE project I am trying to change the GAP parameters like 
 gap_connection_param.min_conn_interval = MIN_CONN_INTERVAL; gap_connection_param.max_conn_interval = MAX_CONN_INTERVAL; gap_connection_param.slave_latency = SLAVE_LATENCY;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jan 2020 05:26:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56969/changing-the-gap-parameters-and-advertising-interval-at-run-time-from-peripheral-device-side-which-is-advertising" /><item><title>RE: Changing the GAP parameters and advertising interval at run time from Peripheral device side(which is advertising)</title><link>https://devzone.nordicsemi.com/thread/231292?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2020 05:26:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aef58e54-1080-445a-85e4-22b1598ab82a</guid><dc:creator>Aswati Vijaykumar</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;In my BLE project I want to get the advertising interval displayed in log file, I&amp;#39;m also varying the advertising interval at runtime for more than two values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please share a logic to measure the time period between the advertising packets. Please help as soon as possible.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Aswati&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Changing the GAP parameters and advertising interval at run time from Peripheral device side(which is advertising)</title><link>https://devzone.nordicsemi.com/thread/231143?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 13:04:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:793c7dac-f642-4676-b548-0beb03abc765</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Aswati,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend using the&amp;nbsp;&lt;a title="Connection Parameters Negotiation" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_ble_conn_params.html?cp=7_1_3_2_4"&gt;Connection Parameters Negotiation&lt;/a&gt;&amp;nbsp;module to manage the connection parameter negotiation with the central. It includes APIs that let you request new connection parameter at runtime.&amp;nbsp;&lt;/p&gt;
[quote user=""]Also share logic to change the advertising interval at run time.&amp;nbsp;[/quote]
&lt;p&gt;The&amp;nbsp;&lt;a title="Advertising Module" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_ble_advertising.html?cp=7_1_3_2_1"&gt;Advertising Module&lt;/a&gt;&amp;nbsp;already includes a fast and slow advertising mode allowing you to specify two different intervals and durations. The fast mode is usually set with a short timeout and short interval when both modes are enabled. The module switches over to &amp;quot;slow&amp;quot; advertising when&amp;nbsp;fast advertising&amp;nbsp;times out.&amp;nbsp;The SD advertising API must be accessed directly if you need a more flexible solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>