<?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>Lots of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) when using PCA10100</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95074/lots-of-ble_hci_conn_failed_to_be_established-0x3e-when-using-pca10100</link><description>Hi, 
 
 I&amp;#39;m using a PCA10100 as a central in NRFconnect desktop in order to make connection on my custom peripheral. 
 
 I encountered a high rate of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED disconnected reason 
 
 
 It is the log of nrf connect, with only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Jan 2023 08:56:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95074/lots-of-ble_hci_conn_failed_to_be_established-0x3e-when-using-pca10100" /><item><title>RE: Lots of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) when using PCA10100</title><link>https://devzone.nordicsemi.com/thread/403530?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 08:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13254e80-d728-4f4c-8873-8db783b3d932</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;OK, this&amp;nbsp;indicates that the connection issues are not related to drift on the slow clock, which is one of the common&amp;nbsp;reasons&amp;nbsp;for the BLE&lt;span&gt;_HCI_CONN_FAILED_TO_BE_ESTABLISHED error. Next thing I would suggest you try is to capture a sniffer trace of when you connect your phone or DK to the peripheral (Note that&amp;nbsp;nRF52833 is not on the list of supported boards if you use&amp;nbsp;our&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;nRF Sniffer for Bluetooth LE&lt;/a&gt;). A sniffer trace will hopefully provide us with some additional clues.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you do not have a Bluetooth sniffer, please test with one of the other SDK examples to&amp;nbsp;find out if the connectivity issues may be FW related.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lots of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) when using PCA10100</title><link>https://devzone.nordicsemi.com/thread/403453?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 15:06:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ff85728-c3b4-46ad-8109-e2d00dc042ff</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried both (RC source and synthetized from HFCLK) but still the same issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lots of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) when using PCA10100</title><link>https://devzone.nordicsemi.com/thread/402229?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 09:45:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b147d00-e2ac-43d2-85e1-6ff87e70b064</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To use the RC oscillator, you must specify&amp;nbsp;a clock&amp;nbsp;calibration interval and change the clock accuracy to 500 ppm.&amp;nbsp;Otherwise, the Softdevice enable call with return with error 7 (invalid param).&amp;nbsp;For this test, I suggest you select the synthesized clock source instead.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lots of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) when using PCA10100</title><link>https://devzone.nordicsemi.com/thread/401980?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 15:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:626c53ab-7e71-4c7c-a1c7-fd28ab922a77</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I am using an external 32 kHz crystal, but cannot use the RC clock source (error 7 when enable softdevice).&lt;/p&gt;
&lt;p&gt;How can i verify the LFCLK or HFCLK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lots of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) when using PCA10100</title><link>https://devzone.nordicsemi.com/thread/401954?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 13:57:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6122e3ec-6a07-4bf6-875b-1af329400006</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Julien,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s the same as&amp;nbsp;&lt;span&gt;BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED&amp;nbsp;. Error 133 is a generic error number, and many time it&amp;#39;s when the connection can&amp;#39;t be established as I explained in the last reply.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you still have good range, the clock source either LFCLK or HFCLK could be the issue . Please try to change the configuration to use RC&amp;nbsp; clock source for the LFCLK if you are using external 32kHz crystal.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lots of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) when using PCA10100</title><link>https://devzone.nordicsemi.com/thread/401947?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 13:38:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dc55a2d-5ded-4acd-98a5-624ba9776279</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;No range issue with a phone, but still difficulties to make connection (a lot of &lt;strong&gt;Error 133 (0x85): GATT ERROR&lt;/strong&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/log_5F00_phone.txt"&gt;devzone.nordicsemi.com/.../log_5F00_phone.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What is the meaning of this error ?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lots of BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED (0x3E) when using PCA10100</title><link>https://devzone.nordicsemi.com/thread/401917?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 12:29:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f662e2c2-f720-4700-bced-8d80b725edc4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Julien,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The return code&amp;nbsp;&lt;span&gt;BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED happens when the central sends a connect request and assuming it&amp;#39;s received by the peripheral. It will continue to send connect event packets according to the connection parameters to see if it get any response from the peripheral. After usually 6 packets without any response it will terminate the connection and return&amp;nbsp;BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED&amp;nbsp;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This situation usually happens when the peripheral didn&amp;#39;t receive the connect request or ignore it due to accept list (white list). Hence, no response from it to the central. In your case, it occasionally worked so it&amp;#39;s more likely that it has&amp;nbsp;something to do with the&amp;nbsp;hardware on your board that the radio doesn&amp;#39;t work as it should.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you tried to verify the behavior with another nRF52 Dev kit ? to see if you have the same&amp;nbsp;BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED&amp;nbsp;report or not ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you have any range issue when you test your board with other central, for example a phone ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>