<?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>what&amp;#39;s the difference between disconnection reason 0x13 and 0x16?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1927/what-s-the-difference-between-disconnection-reason-0x13-and-0x16</link><description>what&amp;#39;s the detail difference between BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION and BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Mar 2014 10:49:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1927/what-s-the-difference-between-disconnection-reason-0x13-and-0x16" /><item><title>RE: what's the difference between disconnection reason 0x13 and 0x16?</title><link>https://devzone.nordicsemi.com/thread/8272?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2014 10:49:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12347e7e-eafd-479d-a837-903bc511d524</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Sorry, I was mistaken in my initial answer, so I&amp;#39;ve updated it now.&lt;/p&gt;
&lt;p&gt;However, we only support two values now; BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION and BLE_HCI_CONN_INTERVAL_UNACCEPTABLE. No other reasons can currently be used by the application, and I&amp;#39;m not sure any other reasons would make sense either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what's the difference between disconnection reason 0x13 and 0x16?</title><link>https://devzone.nordicsemi.com/thread/8271?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2014 06:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1832c9b6-c0ef-4044-9db2-96054de8818a</guid><dc:creator>ziv</dc:creator><description>&lt;p&gt;Could the 2nd arg of sd_ble_gap_disconnect()  be any value? what is the difference between it and the return value of ble disconnecting event?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: what's the difference between disconnection reason 0x13 and 0x16?</title><link>https://devzone.nordicsemi.com/thread/8270?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2014 10:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8985406b-9e56-4620-aa1d-d139528d9745</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;When you pass a disconnect reason, you should always use what you want the peer device to see. This means that when you disconnect from your side, you should pass BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION. However, when you then get the disconnect event, you&amp;#39;ll see that it has the BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION reason, as seen by the link layer.&lt;/p&gt;
&lt;p&gt;The same can be seen if you do a disconnect from MCP. In the disconnected event on the nRF51 side, you&amp;#39;ll see BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION as reason, but if you look in MCP&amp;#39;s log pane, you&amp;#39;ll see BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION.&lt;/p&gt;
&lt;p&gt;Edit: Complete rewrite, as my initial answer was plain wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>