<?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>Disconnection error code 0x3E</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54104/disconnection-error-code-0x3e</link><description>A multiperipheral connection to a central, all with custom nordic devices (nRF52840) has been stablished. Comunication and connection work just fine, but after a synchronization method via BLE was added to the system (broadcast timer transmitted from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Feb 2020 13:25:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54104/disconnection-error-code-0x3e" /><item><title>RE: Disconnection error code 0x3E</title><link>https://devzone.nordicsemi.com/thread/233988?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10120a62-c142-43d5-b220-9c47df9966fe</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, can you debug the application and place a breakpoint in&amp;nbsp;app_error_fault_handler() in app_error_weak.c. We need to find out if the SoftDevice or application is asserting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also make sure that you add&amp;nbsp;DEBUG to your preprocessor definitions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any log output from the application would also be helpful.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection error code 0x3E</title><link>https://devzone.nordicsemi.com/thread/233576?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 15:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:639d8fe9-8a13-4526-9e30-6eb851df23fe</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;yes, the implementation of the synchronization is the same as in the blog_post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection error code 0x3E</title><link>https://devzone.nordicsemi.com/thread/233562?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 14:35:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7672f26-98ce-4cf7-830e-d8947e53f64e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, looking at the sniffer traces it looks to me as the SoftDevice or the application is asserting, triggering a reset. The devices then start advertising/scanning and the cycle repeats.&amp;nbsp; Are&amp;nbsp;you running the synchronization code in a Timeslot as its done in the blog post?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection error code 0x3E</title><link>https://devzone.nordicsemi.com/thread/233559?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 14:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc5dcf01-4496-4f32-8475-70b1dad5cb50</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;Hi Nordic,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m back into this issue again. Indeed a RADIO event is being used for capturing the time stamp when an event has been received. The synchronization is actually taken from: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/wireless-timer-synchronization-among-nrf5-devices"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/wireless-timer-synchronization-among-nrf5-devices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When no synchronization is running, the connections occur without issue but when the synchronization is enabled, lots (random number) connection/ disconnection events occur before is successful.&lt;/p&gt;
&lt;p&gt;You can see the sniffer pictures, between the packets 25819 and 27570, the peripheral is initially transmitting until it is manually restarted, there we can see the attempts for connections until a few seconds later, the connections occurs.&lt;/p&gt;
&lt;p&gt;&lt;img height="258" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1581344591875v2.png" width="603" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="232" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1581344790469v3.png" width="571" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="280" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1581344872097v4.png" width="575" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Can you recommend something based on the images shown? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnection error code 0x3E</title><link>https://devzone.nordicsemi.com/thread/219061?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 12:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2d5cbf8-64d1-4f82-a7bd-9eb4f3e0b952</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi User1321,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the 0x3E disconnect error corresponds to BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED:&amp;nbsp;The Connection Failed to be Established error code indicates that the LLinitiated a connection but the connection has failed to be established&lt;/p&gt;
&lt;p&gt;So since you did not have any issues prior to connecting before the&amp;nbsp;&lt;span&gt;synchronization&amp;nbsp;method&amp;nbsp;via BLE was added, then I think its highly likely that there is something in this code that causes the SD to assert or prevents it from finishing the&amp;nbsp;connection establishment.&amp;nbsp; Does the new&amp;nbsp;synchronization&amp;nbsp;method&amp;nbsp;via BLE handle&amp;nbsp;any BLE_GAP_EVTS or BLE_GATTS_EVTS events ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>