<?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>Reconnecting issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52557/reconnecting-issue</link><description>Every time I try to connect to Android phone (running Android 7) or nrfConnect, it connects the first time. After I restart the nrf52 DK, the host takes a while to reconnect or does not connect at all, although its previously bonded. Restarting the board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Oct 2019 13:11:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52557/reconnecting-issue" /><item><title>RE: Reconnecting issue</title><link>https://devzone.nordicsemi.com/thread/217085?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2019 13:11:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31aad793-f072-48fc-9268-c64f122c1083</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You can take a look at this previous similar ticket: &lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/41976/what-event-to-wait-for-to-know-when-mtu-has-been-successfully-negotiated-with-a-central-device"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/41976/what-event-to-wait-for-to-know-when-mtu-has-been-successfully-negotiated-with-a-central-device&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting issue</title><link>https://devzone.nordicsemi.com/thread/216248?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 21:24:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:622a98c7-0714-4a44-a358-53d9e95754c2</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Still waiting for your response! Should I be using&amp;nbsp;BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST? If yes what should happen after that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting issue</title><link>https://devzone.nordicsemi.com/thread/214938?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 04:07:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bf84b2c-18cf-4982-b370-06a1b3be8cb9</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/joakim_2d00_jakobsen"&gt;Joakim Jakobsen&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting issue</title><link>https://devzone.nordicsemi.com/thread/214425?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 14:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61bff27e-6d6f-45fb-80b5-dc00b25337af</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;How do I check mtu request of 32 bytes is accepted by the host?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting issue</title><link>https://devzone.nordicsemi.com/thread/214420?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 14:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c5be65a-f4ae-4c82-80d1-0c03157b62bf</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry, I don&amp;#39;t think I understand your question. &lt;br /&gt;Could you please re-phrase or elaborate on what it is you want to do here?&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim Jakobsen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting issue</title><link>https://devzone.nordicsemi.com/thread/214253?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 03:31:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abd55c20-1a01-417b-b038-45c68db46fd3</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;The below sequence happens once in 10 attempts -&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Host bonds with device or reconnects to already bonded device&lt;/p&gt;
&lt;p&gt;2. Host requests MTU size of 32 - success&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;Host enables notifications&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;Host receives 23 byte packets, instead of 32.&lt;/p&gt;
&lt;p&gt;5. Host displays error message - device not found, out of range.&lt;/p&gt;
&lt;p&gt;How can I restrict sending 23 bytes instead of 32 bytes in the firmware before MTU request is accepted?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting issue</title><link>https://devzone.nordicsemi.com/thread/212443?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2019 06:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:992b43ed-9ed8-4ffa-b222-ced14367e676</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the code you uploaded, I can&amp;#39;t see why you don&amp;#39;t receive the disconnect event. You should see the disconnected event when you disconnect using your phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using an application for connecting/disconnecting, or are you using the native bluetooth settings on the phone to connect/disconnect?&lt;/p&gt;
&lt;p&gt;If you aren&amp;#39;t seeing the disconnection event, you could try to reduce the connection timeout and see if you would get the timeout/disconnect event after the timeout expires.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnecting issue</title><link>https://devzone.nordicsemi.com/thread/212148?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 22:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f3f771c-b5cb-4b03-885d-c63b651cbfd4</guid><dc:creator>bscdb</dc:creator><description>&lt;p&gt;Waiting for your reply. While I was debugging, I found out that although my Android code is disconnecting &amp;amp; removing the bond, which I can also see on the phone that the ble device is not listed under paired devices, the ble device (peripheral) is not disconnecting. It does not get the&amp;nbsp;BLE_GAP_EVT_DISCONNECTED event. Could you suggest any workaround for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>