<?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>Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21503/disconnect-during-connection-process-after-successful-disconnect</link><description>8Q BTLE issue.pcapng BTLE connection failure.log 
 Hi guys, 
 We have an issue with some iOS devices that are disconnecting with reason 0x08, the connection timed out. The test procedure is, 
 
 
 We use various devices (5 iOS devices right now,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 May 2017 12:41:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21503/disconnect-during-connection-process-after-successful-disconnect" /><item><title>RE: Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/thread/84394?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 12:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ea749bb-e91b-416e-9354-25d3f1ee1eb6</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Since you say this only fail with certain centrals. And it looks like there is always a timeout. I would guess the central either stops sending packets or is sending them outside of the listening window. I see from the log the central ppm value is set to 31 to 50. If I remember correctly this has been changed to 250 on newer devices (or is it iOS version, not sure). But you say that you have already tried to increase the ppm value on the peripheral so I&amp;#39;m inclined to think the central stopped transmitting for some reason. Did you test the peripheral even with the 500ppm value? You wouldn&amp;#39;t happen to have access to an ellisys sniffer so we can get a better trace? maybe see if the master actually stops sending packets (the nRF sniffer is great, but has some limitations...)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/thread/84399?ContentTypeID=1</link><pubDate>Fri, 05 May 2017 19:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9252166-9e5a-47fa-9a4f-147bf05477c7</guid><dc:creator>chalecampb</dc:creator><description>&lt;p&gt;Hi run_ar,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;I have requested XCode logs to see, I asked the app developer and he says there is no disconnect call unless the user manually presses disconnect&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The clock source is an external xtal and capacitor pair, we use the same external clock circuit on all of our products in the same layout. The components are 1x FC-135 32.7680KA-AC and 2x GRM1555C1H120GA01D&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="https://support.epson.biz/td/api/doc_check.php?dl=brief_FC-135R_en.pdf"&gt;support.epson.biz/.../doc_check.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://search.murata.co.jp/Ceramy/image/img/A01X/G101/ENG/GRM1555C1H120GA01-01.pdf"&gt;search.murata.co.jp/.../GRM1555C1H120GA01-01.pdf&lt;/a&gt;&lt;/p&gt;
&lt;ol start="3"&gt;
&lt;li&gt;The capacitor values are 12pF to account for around 2pF in trace capacitance. I just double checked and we are reading mean 32.768kHz, but the minimum and maximum measured frequency are 32720 and 32800. I&amp;#39;ll check into why it measures that, since the crystal is rated at 20ppm.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In any case this is the only product and firmware we are seeing the issue on, so I would be surprised to see a hardware issue unless it is exacerbated by something we changed in the software.&lt;/p&gt;
&lt;p&gt;Thanks,
-Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/thread/84398?ContentTypeID=1</link><pubDate>Fri, 05 May 2017 13:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68039300-b90f-4564-9b42-0145293f9d45</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;How many peripheral device have you tested that behaves like this (That is how many different chips have you run this particular project on and seen this behavior)? What is your 32KHz clock source?&lt;/p&gt;
&lt;p&gt;Could be interesting to see the logs from the apple device as well if you have access to them? They can be retrieved using xcode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/thread/84397?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 14:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c45324ee-98a6-4477-a519-60aab5c5b90a</guid><dc:creator>chalecampb</dc:creator><description>&lt;p&gt;Hi run_ar,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Yes, I asked to check if the problem still occurs with LightBlue and it still disconnected&lt;/li&gt;
&lt;li&gt;We did switch from Keil to GCC. This project was the first project we did with the nRF51822. The codebase used Keil because the GCC stationary was not complete at that time. Since then we did 2 other projects, a central and a peripheral. In switching from Keil to GCC, we started from the peripheral makefile that we already had (and shipped). All of the preprocessor directives are the same, the only thing that changed was the include and c file list. And the name.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The issue doesn&amp;#39;t occur with the other peripheral project that we use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/thread/84396?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 10:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37da6b8f-72bf-48c6-a8b1-a2beb41757b9</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;In the question, are you saying that you switched copmiler from Keil to GCC, and this started after the switch? No changes to the codebase? Are you sure you are not missing any preprocessor symbols?&lt;/p&gt;
&lt;p&gt;Have you been able to recreate this behavior using an SDK example so I can try to recreate it here (Unfortunately I don&amp;#39;t have a matching idevice/iOS version combination so it might not be possible for me to recreate it...)?&lt;/p&gt;
&lt;p&gt;Do you see the same disconnect issue if you use nRF connect for iOS instead of your own app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/thread/84395?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2017 16:55:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62c4250-c78a-48bc-86d1-3ef3b848382c</guid><dc:creator>chalecampb</dc:creator><description>&lt;p&gt;@endnode I am not referring to the fact that the device terminates the link as a BT SIG violation. I am referring to a specific set of posts on the forum that details a problem in which the iOS device, after 8.3.2, can potentially send multiple packets which raises a link layer error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/thread/84393?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 12:52:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9354f1a9-d6a8-4fa7-ade5-0b0fb447e9a9</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;As endnode says, it would be interesting to see sniffer traces that shows this problem. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect during Connection Process after Successful Disconnect</title><link>https://devzone.nordicsemi.com/thread/84392?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2017 22:24:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:616654c7-8f48-43cb-be52-eebdade62084</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;Firstly if some device terminates the link it doesn&amp;#39;t immediately means it violates BT SIG specification;) Get the RF logs from Nordic Sniffer (or from some more expensive device if available), I guess you will see what is really happening instead of assuming from incomplete iOS and RTT logs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>