<?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>Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52096/error-22-0x16-gatt-conn-terminate-local-host</link><description>Hello, 
 
 I&amp;#39;m running custom firmware on a nRF52840 based DK (Rigado BMD-340). 
 The log from the nRF Connect app is as follows: 
 
 
 Could anyone help explain the error &amp;quot;Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST&amp;quot; 
 What might be the cause and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Sep 2019 12:25:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52096/error-22-0x16-gatt-conn-terminate-local-host" /><item><title>RE: Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST</title><link>https://devzone.nordicsemi.com/thread/211811?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 12:25:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efc13ec9-2a65-4ef5-a197-72a8e6e61f04</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;OK, I see. I suggest you continue in that thread, then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST</title><link>https://devzone.nordicsemi.com/thread/211605?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 16:01:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b93532d4-34bf-4a6f-806e-63e48b23e7b0</guid><dc:creator>RO</dc:creator><description>&lt;p&gt;I installed the sniffer. Here is the issue with the trace:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52500/nrf-sniffer-protocol-column-empty-cannot-see-ble-link-layer"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52500/nrf-sniffer-protocol-column-empty-cannot-see-ble-link-layer&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST</title><link>https://devzone.nordicsemi.com/thread/209619?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2019 12:36:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c319029f-a997-4964-87c1-46d1936bcda5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Since the log states that the local host terminated, it means that the phone terminated the connection for some reason. Apparently something upset the phone, but I cannot see what and why. Do you have a sniffer trace and log from the nRF side? Perhaps that can shed some light on things. You could also try different connection parameters and similar, as suggested in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38228/error-22-0x16-gatt_conn-terminate-local-host-issue"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>