<?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>Disconnect after connect parameters update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76815/disconnect-after-connect-parameters-update</link><description>Hi, 
 =========================== 
 Chip: nRF52832 
 SDK: nRF5_SDK_17.0.2_d674dde 
 Role: Central /Peripheral 
 Project: BLE gateway 
 =========================== 
 We currently encouter a connect issue with our nrf52832 gateway device, we have no idea</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Jul 2021 11:41:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76815/disconnect-after-connect-parameters-update" /><item><title>RE: Disconnect after connect parameters update</title><link>https://devzone.nordicsemi.com/thread/318167?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 11:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e7f6466-86d8-4944-81ec-b8d8fad4e169</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Glad that I could help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect after connect parameters update</title><link>https://devzone.nordicsemi.com/thread/318063?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 01:17:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f29b279c-3fe4-4ff7-9400-932fb919eec1</guid><dc:creator>Gavin</dc:creator><description>&lt;p&gt;Hmm, i see, thanks Susheel..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect after connect parameters update</title><link>https://devzone.nordicsemi.com/thread/317930?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 10:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35cba384-ef17-4185-a7ec-2a0815eaba78</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;With such slow connection interval, it is very easy to lose packets (corrupted) packets in a radio noisy environment. Setting the smaller connection interval with make the exchange of packets faster hence giving more time for retires of packets that are lost/corrupted before the supervision timeout expires.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect after connect parameters update</title><link>https://devzone.nordicsemi.com/thread/317921?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 10:10:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddfbb451-99a8-4f42-a020-22da7ea282ee</guid><dc:creator>Gavin</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It just received&amp;nbsp;&lt;strong&gt;&lt;em&gt;BLE_ADV_EVT_FAST&lt;/em&gt;&lt;/strong&gt;...&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Annotation-2021_2D00_06_2D00_30-175112.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;But now it is stable after setting a smaller conn interval:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(7.5, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(30, UNIT_1_25_MS) &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Annotation-2021_2D00_06_2D00_30-175149.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;strong&gt;I just&amp;nbsp;confuse why this setting can not work:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(500, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS) &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Thanks.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect after connect parameters update</title><link>https://devzone.nordicsemi.com/thread/317467?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 11:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8eb7149d-d144-490f-9b1f-7cbf21141d65</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]The ble gateway want to connect the heart rate device, which running the ble_app_hrs example in SDK 17,&amp;nbsp; for test, but it is disconnected after conn parameters update, the reason is 0x8. From the wireshark, the master has send LL_CONNECTION_UPDATE_IND&amp;nbsp;to slave, but the slave no response any more and enters to adv mode.[/quote]
&lt;p&gt;&amp;nbsp;It is not clear what is happening on the peripheral side since the timestamps are visible in your snapshot. Could it that there is a restart on the peripheral side (mostly&amp;nbsp;APP_ERROR_CHECK)? or could it be a super vision timeout?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could it be that your peripheral has some other logic in handling the BLE_GAP_EVT_CONN_PARAM_UPDATE: event and that logic asserted or caused your peripheral to restart?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>