<?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>Seemingly random disconnect after around 1 minute</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96431/seemingly-random-disconnect-after-around-1-minute</link><description>I am using a NRF52 Devkit with S140 to connect to a NRF51 running S110. 
 Initially this works as expected and I can connect, discover services read, write etc... 
 However after around 1 minute the connection is dropped. This always happens. 
 The NRF51</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Feb 2023 14:11:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96431/seemingly-random-disconnect-after-around-1-minute" /><item><title>RE: Seemingly random disconnect after around 1 minute</title><link>https://devzone.nordicsemi.com/thread/409187?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2023 14:11:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fb5b4f4-fae0-41c2-8ab3-af52faf57409</guid><dc:creator>Marne</dc:creator><description>&lt;p&gt;I managed to find the solution, and it was very simple!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I had no handler for&amp;nbsp;BLE_GAP_EVT_CONN_PARAM_UPDATE_REQUEST on my central, and therefore I ignored that request. This in turn leads to the peripheral disconnecting after about 60 seconds:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/27066/ble-central-disconnect-after-exactly-65-5-sec/106367"&gt;RE: BLE Central disconnect after exactly 65.5 sec&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Adding a handler for this event and replying to the request solved my issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Seemingly random disconnect after around 1 minute</title><link>https://devzone.nordicsemi.com/thread/409186?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2023 14:06:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:621895cd-90c3-46fb-b15b-8eb427ba4d18</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Could you please share the sniffer log that you got?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Seemingly random disconnect after around 1 minute</title><link>https://devzone.nordicsemi.com/thread/408940?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2023 15:08:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b8c6cc1-1a20-479a-8822-389bc933fcb3</guid><dc:creator>Marne</dc:creator><description>&lt;p&gt;I am already using the suggested values in the linked thread. I have been running the code on either a nRF52832 dev kit (the one with built-in JLink) and a nRF52840 dongle, with the same results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Seemingly random disconnect after around 1 minute</title><link>https://devzone.nordicsemi.com/thread/408905?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2023 14:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0839e98a-9e73-4dc4-89c0-57af567bfe53</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Marne,&lt;/p&gt;
&lt;p&gt;Given your description, I think your nRF52 device might be having clock drifting. What&amp;nbsp;is the low frequency clock source in your nRF52 setup?&lt;/p&gt;
&lt;p&gt;If you are using the internal RC oscillator as the source, you could refer to the following answer from my colleague Simon:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/73769/ble-disconnection-right-after-connection---nrf52832-with-sdk-ble_app_blinky_pca10040_s132-example/303913"&gt;RE: BLE Disconnection right after connection - nRF52832 with SDK ble_app_blinky_pca10040_s132 example&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>