<?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>nRF Connect GATT Timeout After Connecting To Device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60320/nrf-connect-gatt-timeout-after-connecting-to-device</link><description>Hi, 
 
 
 My device advertises and &amp;quot;connects&amp;quot;, but then I later receive an error through nRF Connect: &amp;quot;Error: Received a GATT Timeout&amp;quot;. 
 Has anyone else had a similar problem, or if not, any ideas on how to fix this? 
 
 Thanks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Apr 2020 09:28:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60320/nrf-connect-gatt-timeout-after-connecting-to-device" /><item><title>RE: nRF Connect GATT Timeout After Connecting To Device</title><link>https://devzone.nordicsemi.com/thread/245779?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2020 09:28:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99164c27-676b-4465-8286-2542cc3f1dc2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="kmassa5"]1. I am using SDK 16.0.0, implementing a version of the BLE multiperipheral example[/quote]
&lt;p&gt;What did you modify the&lt;span&gt;&amp;nbsp;BLE multiperipheral example? Could it work without the modification?&lt;/span&gt;&lt;/p&gt;
[quote user="kmassa5"]2. I never actually receive a reason in the NRF Connect Log.[/quote]
&lt;p&gt;Please provide the nRF Connect log by&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d4ab9497abcb4ae5a9e96e2fafe2493f/nRF-Connect-log.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="kmassa5"]4. Unsure, could you please tell me how I could get a peripheral-side error log?[/quote]
&lt;p&gt;&lt;span&gt;If you want to use an RTT viewer, you could enable&amp;nbsp;NRF_LOG_BACKEND_RTT_ENABLED in the sdk_config.h. Then, you could get the RTT log in the Segger.&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//==========================================================
// &amp;lt;e&amp;gt; NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
//==========================================================
#ifndef NRF_LOG_BACKEND_RTT_ENABLED
#define NRF_LOG_BACKEND_RTT_ENABLED 1
#endif&lt;/pre&gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;br clear="none" /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Otherwise, Start a&amp;nbsp;terminal&amp;nbsp;emulator&amp;nbsp;like PuTTY and connect to the used COM port with the following UART settings:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Baud rate: 115.200&lt;/li&gt;
&lt;li&gt;8 data bits&lt;/li&gt;
&lt;li&gt;1 stop bit&lt;/li&gt;
&lt;li&gt;No parity&lt;/li&gt;
&lt;li&gt;HW flow control: None&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect GATT Timeout After Connecting To Device</title><link>https://devzone.nordicsemi.com/thread/245656?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 19:52:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b40b7ffc-d2ee-40a8-987a-b694415edd07</guid><dc:creator>kmassa5</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;1. I am using SDK 16.0.0, implementing a version of the BLE multiperipheral example&lt;/p&gt;
&lt;p&gt;2. I never actually receive a reason in the NRF Connect Log. What happens eventually is a pop up shows up with the &amp;ldquo;Error: received a GATT timeout&amp;rdquo; message. The device remains &amp;ldquo;connected&amp;rdquo; but NRF never updates its name from &amp;ldquo;Unknown&amp;rdquo; or shows its services&lt;/p&gt;
&lt;p&gt;3. I am using a nRF52840 Dongle as the adapter and a standard issue nRF52840-DK as the peripheral&lt;/p&gt;
&lt;p&gt;4. Unsure, could you please tell me how I could get a peripheral-side error log?&lt;/p&gt;
&lt;p&gt;5. I&amp;rsquo;ll look into it and get back to you as soon as possible, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect GATT Timeout After Connecting To Device</title><link>https://devzone.nordicsemi.com/thread/245548?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 13:03:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1adb3d0c-325d-448b-aaf0-bdbf01b20119</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What are SD/SDK versions and the based example you are using?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just to confirm, the BLE_HCI_CONNECTION_TIMEOUT is the reason you receive on the NRF Connect, right?&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the bard you use as &lt;span&gt;the peripheral&lt;/span&gt;, custom board or nRF52840DK?&lt;/p&gt;
&lt;p&gt;What is the error log on&amp;nbsp;&lt;span&gt;the peripheral side&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;Is it possible to provide a sniffer trace? A trace captured with&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE" rel="noopener noreferrer" target="_blank"&gt;nRF Sniffer&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is sufficient.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>