<?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>disconnected  0x8</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92725/disconnected-0x8</link><description>Hello, I found that my device is more prone to disconnection due to 0x8. And I saw the log and found that most of the disconnected cases were immediately disconnected as soon as they were connected. I captured some air packets, please help to analyze</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Oct 2022 07:42:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92725/disconnected-0x8" /><item><title>RE: disconnected  0x8</title><link>https://devzone.nordicsemi.com/thread/391096?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 07:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:088a0463-1b5e-4dc0-9f47-4b9098a5624b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;So all in all, the disconnects happened&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you capture a sniffer trace using the nRF Sniffer for Bluetooth LE? That would shed some light to why the devices disconnect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disconnected  0x8</title><link>https://devzone.nordicsemi.com/thread/391071?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 03:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e9c0277-5e82-4584-973b-8694c4d8ff2c</guid><dc:creator>wesson</dc:creator><description>&lt;p&gt;1. Configured as internal rc and tested 1000 times, and there were 9 disconnections&lt;br /&gt;2. Configured as an external crystal oscillator, changed NRF_SDH_CLOCK_LF_ACCURACY to 250PPM, tested 1000 times, and there were 2 disconnections&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disconnected  0x8</title><link>https://devzone.nordicsemi.com/thread/390160?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 07:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d9f167b-9bf7-46a3-bcb6-6e8f6d21e7ba</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;It is exactly 5 seconds after, meaning that it didn&amp;#39;t successfully receive a single packet from the phone.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please try to:&lt;/p&gt;
&lt;p&gt;1: Try the application on a DK, to see whether the application runs better on hardware that we know is working.&lt;/p&gt;
&lt;p&gt;2: Try with a different phone, to see if there is a mismatch.&lt;/p&gt;
&lt;p&gt;3: Capture a sniffer trace using the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;nRF Sniffer for Bluetooth LE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4: In your sdk_config.h file, can you please try to find, and set the following settings:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_SDH_CLOCK_LF_SRC 0
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#define NRF_SDH_CLOCK_LF_ACCURACY 1&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disconnected  0x8</title><link>https://devzone.nordicsemi.com/thread/390130?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 02:41:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a49160b-e376-48b7-8360-32e887688adc</guid><dc:creator>wesson</dc:creator><description>&lt;p&gt;I am using a custom board.&lt;br /&gt;As far as I know, this problem is more likely to occur when connected to this phone.&lt;br /&gt;These pictures were captured and analyzed using the Frontline sodera analyzer.&lt;br /&gt;From the rtt log, the disconnect event occurs in about 5s of the connect event&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disconnected  0x8</title><link>https://devzone.nordicsemi.com/thread/390129?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 02:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19807613-45b0-4c85-99c2-a68e9c8ad058</guid><dc:creator>wesson</dc:creator><description>&lt;p&gt;00&amp;gt; [462601:31:37.000,000] &amp;lt;debug&amp;gt; nrf_ble_gatt: Requesting to update ATT MTU to 247 bytes on connection 0x0.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; [462601:31:37.000,000] &amp;lt;debug&amp;gt; nrf_ble_gatt: Updating data length to 251 on connection 0x0.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; [462601:31:37.000,000] &amp;lt;info&amp;gt; app: Connected&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; [462601:31:37.000,000] &amp;lt;info&amp;gt; app: Uart init.&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; [462601:31:42.000,000] &amp;lt;info&amp;gt; app: Disconnected = 0x8&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disconnected  0x8</title><link>https://devzone.nordicsemi.com/thread/390041?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 13:24:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60aae1fd-7035-409a-b7f9-57f51fead9b6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Disconnect reason 0x08 means that what you are seeing is a supervision timeout. Basically it means that (at least one of) the devices hasn&amp;#39;t picked up any packets from the connected device for&amp;nbsp;CONN_SUP_TIMEOUT time. Looking at your traces, it looks like there are only retransmissions, so it looks like that is the case.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you see the disconnects if you try another phone?&lt;br /&gt;What HW is the nRF52832 mounted on? Nordic nRF52832 DK? If it is a custom board, can you test it on a DK?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does the log from the nRF say anything?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think changing the connection parameters (the ones that happen after 5 seconds) will have any effect. Based on the log, it doesn&amp;#39;t look like it receives any packets from the nRF. I am not entirely sure what device we are seeing in the trace. I have not seen this software before. Is that packets from the phone or the nRF?&lt;/p&gt;
&lt;p&gt;Do you get the &amp;quot;Connected&amp;quot; event on the nRF?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: disconnected  0x8</title><link>https://devzone.nordicsemi.com/thread/389998?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 11:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:246659aa-5d98-4f61-89f4-30dd270e8fb5</guid><dc:creator>wesson</dc:creator><description>&lt;p&gt;nRf52832&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span&gt;Samsung s10+&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>