<?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>Battery Request Second time disconnection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17373/battery-request-second-time-disconnection</link><description>Issue: when the battery level is requested for the first time from mobile its responding correctly. but, when it is requested for the second time from mobile, disconnection happens with message unknown error (0x3b).</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Nov 2016 12:32:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17373/battery-request-second-time-disconnection" /><item><title>RE: Battery Request Second time disconnection</title><link>https://devzone.nordicsemi.com/thread/66789?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 12:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:800f3142-c5a4-4957-ae9c-1955502b26e5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Try to set it to 20ms then, so you have something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define MIN_CONN_INTERVAL                   MSEC_TO_UNITS(20, UNIT_1_25_MS)             /**&amp;lt; Minimum acceptable connection interval (20 ms).  */
#define MAX_CONN_INTERVAL                   MSEC_TO_UNITS(1000, UNIT_1_25_MS)            /**&amp;lt; Maximum acceptable connection interval (1 second). */
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There is no uniform connection settings for Android. What Android version are you using on the motoE ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery Request Second time disconnection</title><link>https://devzone.nordicsemi.com/thread/66788?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 12:13:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78dd7058-c059-47e2-9d9e-437eddf0db37</guid><dc:creator>magesh vasudevan</dc:creator><description>&lt;p&gt;if I change the value as suggested, its not listing in mobile (not advertising). whether the connection  parameter will change from mobile to mobile or uniform settings is there for android mobiles?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery Request Second time disconnection</title><link>https://devzone.nordicsemi.com/thread/66787?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 08:27:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c75bbe1-5aff-4cec-8ab5-095f256a7caf</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;0.5 seconds is actually a bit high as an min connection interval. Try to lower it to 10ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery Request Second time disconnection</title><link>https://devzone.nordicsemi.com/thread/66790?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 05:32:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edee540a-dcd1-4723-81b2-dc40fd2471c4</guid><dc:creator>magesh vasudevan</dc:creator><description>&lt;p&gt;Only default value used in the program.&lt;/p&gt;
&lt;p&gt;MIN_CONN_INTERVAL : 0.5 seconds&lt;/p&gt;
&lt;p&gt;MAX_CONN_INTERVAL : 1 seconds&lt;/p&gt;
&lt;p&gt;SLAVE_LATENCY : 0&lt;/p&gt;
&lt;p&gt;CONN_SUP_TIMEOUT : 4 seconds&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery Request Second time disconnection</title><link>https://devzone.nordicsemi.com/thread/66786?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2016 12:47:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb39e46b-c516-4f7a-b23a-8beaa07f926e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The error 0x3b is caused by &lt;em&gt;&amp;quot;Unacceptable Connection Interval&amp;quot;&lt;/em&gt;. What values are you using for these parameters ? &lt;code&gt;MIN_CONN_INTERVAL&lt;/code&gt;, &lt;code&gt;MAX_CONN_INTERVAL&lt;/code&gt;, &lt;code&gt;SLAVE_LATENCY&lt;/code&gt; and &lt;code&gt;CONN_SUP_TIMEOUT&lt;/code&gt; ? It may be that the bluetooth stack used in motoE  does not accept the connection interval parameters you are using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery Request Second time disconnection</title><link>https://devzone.nordicsemi.com/thread/66785?ContentTypeID=1</link><pubDate>Fri, 28 Oct 2016 03:43:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a40164d-6b04-4393-bdcd-2cfe8decf61c</guid><dc:creator>magesh vasudevan</dc:creator><description>&lt;p&gt;the chip we use is nrf52.
its a custom board and sdk 11.0 version.
s132 softdevice with proximity profile running.
motoE mobile device is used.
we are seeing an error in mobile log as unknown error (ox3b)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Battery Request Second time disconnection</title><link>https://devzone.nordicsemi.com/thread/66784?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 14:21:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11986fa2-f67e-47c5-a71f-7436006a47fd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Could you please try to provide some more information? What chip are you using? nRF51? nRF52? nRF24L01+? Is this a custom board, a DK or maybe a EK? What SDK version are you using? What SoftDevice are you using? Are you running one of the examples in the SDK? What mobile device is this? What app are you using on the phone? Android? IOS? Are you able to debug the chip? In what part of the code does the error happen? Which of the devices are issuing the disconnect? Where are you seeing this error, on the mobile or on the chip? Does the chip enter the error handler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>