<?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>The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34431/the-bluetooth-connection-is-made-and-immediately-disconnected</link><description>Hello, 
 I am creating a project through the MultiLink example. 
 One problem occurred. If the device is attached to NRF52DK, the connection will be disconnected immediately after the DICONNECTED event occurs. 
 
 -----------------log----------------</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Jul 2018 04:33:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34431/the-bluetooth-connection-is-made-and-immediately-disconnected" /><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/138419?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 04:33:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c972301-16ab-44b4-9fbc-b64890790c6b</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;Hi strengthstrong,&lt;/p&gt;
&lt;p&gt;Rather than being resolved by switching to SDK14.2 -&amp;gt; SDK15,&lt;br /&gt;It only adjusts the connection time.&lt;br /&gt;It seems that the interval time that was applied to the existing 14.2 was short and the phenomenon occurred.&lt;br /&gt;I did not test NRF_SDH_BLE_CENTRAL_LINK_COUNT by setting it to 1. I always set it to 4 and proceeded to test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/138360?ContentTypeID=1</link><pubDate>Sat, 30 Jun 2018 06:03:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8a44fc0-b504-40ad-8bcb-dfccfe8d75e1</guid><dc:creator>strengthstrong</dc:creator><description>&lt;p&gt;What is the problem and how is sdk14.2 solved? Multiple connections cannot set NRF_SDH_BLE_CENTRAL_LINK_COUNT 1 to 1&lt;br /&gt;&amp;nbsp; Isn&amp;#39;t it only connected to one device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/134127?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 07:47:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bb4a879-0c20-418f-a6cd-bfe6773a0c29</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;After migrating to SDK15&lt;br /&gt;This error seems to have been resolved.&lt;br /&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/133728?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 06:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffbda5b1-7013-4181-a2b5-e0f3c634b775</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;Hi, Edvin.&lt;/p&gt;
&lt;p&gt;I am currently migrating from SDK14.1 to SDK15. After migrating, we&amp;#39;ll try this test and contact you again if we get an error. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/133330?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 05:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:428d053a-1721-431e-ae1e-2500c5a4bb6b</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;hi, Edvin.&lt;/p&gt;
&lt;p&gt;I will confirm that you have advised and will test.&lt;br /&gt;I will leave a comment after the test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/132895?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 07:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9f8923d-b572-4d96-b8b2-61bf04581072</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Thank you. It doesn&amp;#39;t seem like the peripheral responds at all. May I ask what kind of device the peripheral is? Is it something you are developing, or is it a product already on the marked?&lt;/p&gt;
&lt;p&gt;If it is something that you are developing, are you able to debug that device and see if you get a connection event?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the sniffer log, it looks like the connection is never established (as is confirmed by the 0x3E disconnect reason). But the peripheral has a break in the advertisements after the CONNECT_REQ packet, so something is happening, but the peripheral goes silent for a few seconds, then it continues to advertise.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Out of curiosity, can you try to change to the following (in sdk_config.h)&lt;/p&gt;
&lt;p&gt;#define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 0&lt;br /&gt;#define&amp;nbsp;NRF_SDH_BLE_CENTRAL_LINK_COUNT 1&lt;br /&gt;#define NRF_SDH_BLE_TOTAL_LINK_COUNT 1&lt;/p&gt;
&lt;p&gt;And see if anything changes in the sniffer log?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/132850?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 02:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bb0066e-6779-4bc8-af26-2542e80969ee</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/connect_5F00_failed.pcapng"&gt;devzone.nordicsemi.com/.../connect_5F00_failed.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here it is.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/132694?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 09:16:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07b624f1-c6e0-41d5-b2fa-09fd68da034b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;The PCA10056 is not yet supported. The PCA10040 and PCA10028 (and PCA10031) is currently supported.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, you got the sniffer up and running. Could you send the entire snifferlog (.pcapng file) ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/132391?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 08:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfbdb516-c3a4-4849-9a22-a523c4a0db61</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Fortunately for me, I had a PCA10028 board, installed the sniffer and observed the packets.&lt;/p&gt;
&lt;p&gt;I think this part is probably what I said.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/33.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Do you think you know what the problem is?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/132371?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 02:14:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc0d25b6-7841-4be4-9f45-9ae13c4d990a</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;Additionally,&lt;br /&gt;The NRF52840DK does not support Sniffer, is it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/132368?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 01:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66a4672e-5e2f-4894-9f63-066f163b7274</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;br /&gt;Thanks for giving me the answer.&lt;/p&gt;
&lt;p&gt;It is not exactly a connect, but after a CONNECTED event occurs on_ble_evt,&lt;br /&gt;Seems to be DISCONNECTED immediately.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The device I&amp;#39;m trying to connect to is not the NRF Board, but the TI Chip Board.&lt;br /&gt;I have not seen the sniffer yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The Bluetooth connection is made and immediately disconnected.</title><link>https://devzone.nordicsemi.com/thread/132300?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 13:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ae222eb-2b78-494c-880f-48a8ee85c5ed</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What do you mean by: &amp;quot;If the device is attached to NRF52DK, the connection will be disconnected immediately after the DISCONNECTED event occurs.&amp;quot;?&lt;/p&gt;
&lt;p&gt;By &amp;quot;attached&amp;quot;, do you mean connected via BLE?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Disconnect reason 0x3E is&amp;nbsp;BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED. What device are you trying to connect to the nRF52DK? Do you have a sniffer trace?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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></channel></rss>