<?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>BLE - connection terminated by local host</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70829/ble---connection-terminated-by-local-host</link><description>Hi, 
 
 I&amp;#39;m using nrf52840 device in order to connect a mobile via BLE. 
 
 After pairing and a couple of minutes - I get a discinnection with reason code BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION. 
 I would like to ask - who is local host? 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jan 2021 14:45:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70829/ble---connection-terminated-by-local-host" /><item><title>RE: BLE - connection terminated by local host</title><link>https://devzone.nordicsemi.com/thread/291076?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 14:45:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb523c4e-f91f-4c49-a6a1-b53202b2ca6f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Roei,&amp;nbsp;&lt;br /&gt;By definition in the spec the application should receive disconnect reason when it&amp;#39;s requested by the application (local) to disconnect or it&amp;#39;s an timeout of a procedure that initiated by the local device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s explained in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/67677/ble_hci_local_host_terminated_connection-disconnection-reason"&gt;this case.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to capture a &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt;sniffer trace &lt;/a&gt;when the disconnect occured, so we would have a better insight of what caused the disconnection.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>