<?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>Disconnection 0x3b in Master Control Panel APP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13320/disconnection-0x3b-in-master-control-panel-app</link><description>I am using NRF52 S132, and using UART service , but my phone is getting disconnected automatically after 1 or two minutes. I have seen this question asked in Forum but that does not solved my issue. I could see that issue was related to connection parameters</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Apr 2016 09:57:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13320/disconnection-0x3b-in-master-control-panel-app" /><item><title>RE: Disconnection 0x3b in Master Control Panel APP</title><link>https://devzone.nordicsemi.com/thread/50770?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 09:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:044cd2bb-f2a2-4bc0-af98-2a6c92dc7c75</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;If you are not getting a disconnect after commenting out the conn_params_init() function, then you surely know that this is a connection parameter negotiation problem of some sort. Please check &lt;a href="https://devzone.nordicsemi.com/question/12545/update-connection-parameter-programmatically/"&gt;this thread&lt;/a&gt; in order to realize how the connection parameter update procedure works, then check the things I have already mentioned in my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection 0x3b in Master Control Panel APP</title><link>https://devzone.nordicsemi.com/thread/50771?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 04:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd02ac80-a249-4e8b-9ab7-9022ec435613</guid><dc:creator>Thangaraj</dc:creator><description>&lt;p&gt;Hi Stefan, Thanks for your reply. I just commented one function after that disconnect was not happening , But am not sure how this solve the issue .&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;       device_manager_init(true);
     //conn_params_init(); -&amp;gt; This function I commented to make it work 
       gap_params_init();
       services_init();
       advertising_init();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Please let me know what change this will give and is it a proper fix?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection 0x3b in Master Control Panel APP</title><link>https://devzone.nordicsemi.com/thread/50769?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 13:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b56fce08-ee6d-45d6-955a-d47376fb7b3a</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;These connection parameter settings seem to be pretty normal. Letting the central device choose &lt;a href="https://devzone.nordicsemi.com/question/12545/update-connection-parameter-programmatically/"&gt;connection parameters&lt;/a&gt; between 20ms and 75ms should be fine.&lt;/p&gt;
&lt;p&gt;In the sniffer trace, what is the connection interval that the central device (phone) is proposing?  If it is not between 20ms and 75ms, the default procedure of the nRF51 (the ble_conn_params library in the nRF5 SDK) is to reject the proposed parameters from the central and disconnect (see conn_params_negotiation function).  See also here how to see the actual connection interval proposed by the central &lt;a href="https://devzone.nordicsemi.com/question/2898/knowing-the-connection-interval/"&gt;(1)&lt;/a&gt; &lt;a href="https://devzone.nordicsemi.com/question/23190/whats-the-actual-connection-interval-used/?answer=23294#post-id-23294"&gt;(2)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 20.4.2016&lt;/strong&gt;
There are apparently also a few Android phones behaving badly, see &lt;a href="https://devzone.nordicsemi.com/question/52178/ble-disconnection-doing-connection-update-procedure/"&gt;this thread&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>