<?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>Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34602/moto-e4-fails-to-connect-with-nrfconnect-app-itself-error-0x85---gatt-error</link><description>Hi All, 
 Moto E4 mobile phones do not connect right away and at times takes few minutes and connects eventually. Right after I hit connect I get an error 0x85(GATT ERROR) and the app is in connecting state for a while and at times it connects, but some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jun 2018 12:54:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34602/moto-e4-fails-to-connect-with-nrfconnect-app-itself-error-0x85---gatt-error" /><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/135165?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 12:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a27e3e7-5ff7-49e8-97a8-30a7df244314</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;According to &lt;a href="https://android.googlesource.com/platform/external/libnfc-nci/+/master/src/include/hcidefs.h" target="_blank" rel="noopener noreferrer"&gt;Source&lt;/a&gt;, the 0x3D HCI error is&lt;strong&gt;&amp;nbsp;#define&amp;nbsp;HCI_ERR_CONN_TOUT_DUE_TO_MIC_FAILURE&amp;nbsp;0x3D &lt;/strong&gt;line 511&lt;/p&gt;
&lt;p&gt;Which this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/26287/connections-to-moto-e4-fail-with-0x3d-connection-terminated-due-to-mic-failure" target="_blank" rel="noopener noreferrer"&gt;guy solved in this thread.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It is clearly a bug in Moto since it works on other phones.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/134993?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 15:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4a999ba-d138-4327-953e-0eb1a69b47d3</guid><dc:creator>jmuralinux</dc:creator><description>&lt;p&gt;yes.. We have handled errors as required. In this case, it throws 0x3D error in the DISCONNECTED event and disconnects immediately. So we restart the advertising and it connects again and goes in this loop. After 5 seconds or so, it eventually succeeds but intermittently.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When it connects successfully, it keeps doing connection param negotiation every few seconds as well as below changing the params often.&lt;/p&gt;
&lt;p&gt;BLE_GAP_EVT_CONN_PARAM_UPDATE&lt;br /&gt;Connection Param Negotiation&lt;br /&gt;Pref Min Interval 16 Pref Max Interval 60 Recv Max Interval 6 Recv Min Interval 6&lt;/p&gt;
&lt;p&gt;BLE_GAP_EVT_CONN_PARAM_UPDATE&lt;br /&gt;Connection Param Negotiation&lt;br /&gt;Pref Min Interval 16 Pref Max Interval 60 Recv Max Interval 60 Recv Min Interval 60&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_9025.JPG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_9026.JPG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_9027.JPG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/134863?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 08:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc4a05aa-1ebc-43fa-a4e4-167d03927b9b</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;- From what function do you get the error 0x3D?&lt;/p&gt;
&lt;p&gt;- Do you have an &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;error handler&lt;/a&gt; in your project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/134630?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 01:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03db7429-a5c0-4952-8bd9-9936ad034bc8</guid><dc:creator>jmuralinux</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=ga7fa1d11a93b9738f7695ec3d6758da86" rel="noopener noreferrer" target="_blank"&gt;sd_ble_gap_ppcp_set&lt;/a&gt;&amp;nbsp;is called during power up setting up BLE.&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=gaf89b434841998ab384e0612dca9e12f8" rel="noopener noreferrer" target="_blank"&gt;sd_ble_gap_conn_param_update&lt;/a&gt;&amp;nbsp;requires a connection handle. So I called this once I got the CONNECTED event is received before doing MTU negotiation and it connects and disconnects immediately with error 0x3D. The error on the nRFTools app still reports the original error and keeps connecting and disconnecting in the background whereas the app shows status as connected even though logs confirm the connection/disconnection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/134139?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 08:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:978e6f12-61f6-4531-a94d-c0c840cd0d44</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;If you are&amp;nbsp;&lt;strong&gt;not&lt;/strong&gt; using our SDK:&lt;/p&gt;
&lt;p&gt;- Then you have to run a &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=gaf89b434841998ab384e0612dca9e12f8" target="_blank" rel="noopener noreferrer"&gt;sd_ble_gap_conn_param_update()&lt;/a&gt;&amp;nbsp;to trigger a parameter update from the peripheral. If you have used &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=ga7fa1d11a93b9738f7695ec3d6758da86" target="_blank" rel="noopener noreferrer"&gt;sd_ble_gap_ppcp_set()&lt;/a&gt;&amp;nbsp;before that, then you can use &lt;em&gt;NULL&lt;/em&gt; for *&lt;em&gt;p_conn_params&lt;/em&gt; for&amp;nbsp;&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.api.v6.0.0%2Fgroup___b_l_e___g_a_p___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=gaf89b434841998ab384e0612dca9e12f8" target="_blank" rel="noopener noreferrer"&gt;sd_ble_gap_conn_param_update()&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/133328?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 05:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:506891e7-dfea-401b-bb47-c5685ae5e5bf</guid><dc:creator>jmuralinux</dc:creator><description>&lt;p&gt;We are using&amp;nbsp;s140_nrf52_6.0.0 Soft device and not using SDK.&lt;/p&gt;
&lt;p&gt;I read the thread earlier but do not really understand what handle is to be set. We are setting the&amp;nbsp;start_on_notify_cccd_handle to&amp;nbsp;BLE_GATT_HANDLE_INVALID and calling the&amp;nbsp;sd_ble_gap_ppcp_get. Any inputs on which handle to be used here?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/133282?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 14:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e28ba8be-24a5-4cc0-a5bc-e3ac41eecbb2</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;- What SDK version and Softdevice version are you using?&lt;/p&gt;
&lt;p&gt;- Have you seen this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/26287/connections-to-moto-e4-fail-with-0x3d-connection-terminated-due-to-mic-failure" target="_blank" rel="noopener noreferrer"&gt;thread&lt;/a&gt;? (&lt;em&gt;It may be of help)&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/133079?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 16:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5695924f-0394-42b4-8c05-85b29565f623</guid><dc:creator>jmuralinux</dc:creator><description>&lt;p&gt;The issue that I noticed is with both nRFConnect and nRFtoolbox apps. i will try the device cache option and update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our solution with this product is targeted for a wide audience and we do not control what phones the customers can use and would like to understand if this is a limitation on Moto E4 itself or Android or Nordic (soft device). If there is a work around possible, we would like to try that as well. Our own app and the nRF apps work fine with quite few other phones that we tested with (as mentioned in my OP).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moto E4 fails to connect with nRFConnect app itself (Error 0x85 - GATT ERROR)</title><link>https://devzone.nordicsemi.com/thread/132993?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 12:21:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d34735eb-c3f3-4392-ace5-4d637874117f</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Jmuralinux,&lt;/p&gt;
&lt;p&gt;Does it work better with nRF Connect?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Seems like there is an issue with the Moto E4. I have two proposals to you:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; Try to refresh the &lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library/blob/release/dfu/src/main/java/no/nordicsemi/android/dfu/DfuBaseService.java#L1401" target="_blank" rel="noopener noreferrer"&gt;device cache&lt;/a&gt;&amp;nbsp;(use nRF Connect to check if it works, then try it in the app)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;2. Change the phone?&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>