<?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>Bluetooth Disconnections while connecting the device with IPhone SE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73002/bluetooth-disconnections-while-connecting-the-device-with-iphone-se</link><description>We are facing issues whenever a Bluetooth connection is made between our device (Amazon Locker using nrf52840) and IPhone SE Model.The connection is made successfully but within a few seconds, disconnection is triggered by the device without any clear</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Mar 2021 10:28:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73002/bluetooth-disconnections-while-connecting-the-device-with-iphone-se" /><item><title>RE: Bluetooth Disconnections while connecting the device with IPhone SE</title><link>https://devzone.nordicsemi.com/thread/300878?ContentTypeID=1</link><pubDate>Fri, 19 Mar 2021 10:28:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95b60b95-2265-44ae-a454-ef5da84a4f2a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see the disconnect reason is 22 = 0x16 =&amp;nbsp;&lt;code&gt;BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION&lt;/code&gt; so it seems like it is the nRF that is disconnecting. I do not see from the log why the nRF disconnects, but I notice that there are a lot of connection parameter updates before it. Could it be that you disconnect when connection parameters are not acceptable to you? (in that case you would typically use&amp;nbsp;&lt;code&gt;BLE_HCI_CONN_INTERVAL_UNACCEPTABLE&amp;nbsp;&lt;/code&gt; but there is nothing preventing you from using&amp;nbsp;&lt;code&gt;BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION&lt;/code&gt;). There could also be other reasons for the nRF disconnecting, though I am not able to explain that from the log. Is it possible to check the code and see in which situation the nRF would disconnect? And perhaps add some logging around there to show what happens why?&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>