<?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>Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6794/connection-interval-issue-between-nrf51822-and-ios-device</link><description>Hi, 
 Here is the issue details. 
 I have my application loaded on the nRF51822 controller and it acts as a peripheral. The IOS device acts as a central. 
 The connection interval set on the nRF is as below. 
 #define MIN_CONN_INTERVAL 16(20msec)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jun 2015 14:12:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6794/connection-interval-issue-between-nrf51822-and-ios-device" /><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23920?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 14:12:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e01c7595-3ddf-4fb5-bcf7-69024e2f2684</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Anand
No we have not heard about the reason for this from Apple.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23919?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2015 10:26:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:772bdd3b-c3dd-4b24-8e90-065bf132078b</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Any update on the 10 second connection interval between the ioS and nRF .&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23918?ContentTypeID=1</link><pubDate>Wed, 13 May 2015 12:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c91c2650-5d00-4b6d-8990-96b59489f847</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Thanks Stefan, I will look into that guideline.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23917?ContentTypeID=1</link><pubDate>Wed, 13 May 2015 11:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ec571fb-9359-4ca1-998e-522d5f3d7ecf</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;From section 3.6 in the &lt;a href="https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf"&gt;Bluetooth Design Guidelines from Apple&lt;/a&gt; the upper limit for slave latency seems to be 4. With your connection parameter values you have given on this thread, I get slave latency limitation of 25 from the first rule in section 3.6 and slave latency limitation of 16 from the last rule. So from the rule &amp;quot;Slave Latency ≤ 4&amp;quot; is the limiting factor for slave latency so that you can increase the slave latency to 4, which means the peripheral is required to respond on every fifth connection event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23916?ContentTypeID=1</link><pubDate>Fri, 08 May 2015 11:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21eae386-7e80-430a-960e-3092413c6190</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Thanks for the suggestion, what is the maximum slave latency i can increase for the existing connection interval which satisfies the iOS connection intervals.&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23915?ContentTypeID=1</link><pubDate>Fri, 08 May 2015 10:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9431adf-3efe-409c-9aec-4b7adfa36594</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I will let you know if we find out anything from Apple.&lt;/p&gt;
&lt;p&gt;As a workaround, is it possible for you to increase the slave latency in order to save current while you are forced to stay in connection with the IOS device?  Or otherwise to send connection parameter update request in order to increase the connection interval and thereby save current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23914?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 14:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6199d998-e589-4418-8778-02169efa514c</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;We have to know the reason for this. For power saving this is important. The nRF will consume more power  during this 10 second interval since it is connected state. Please let me know if you get reply any from Apple support group.&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23913?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 14:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c35d63d-8657-4ce3-bd58-834a5271156d</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I see the 10 second interval with a sniffer, so I see directly the CONNECT_REQ and LL_TERMINATE_IND packets that are sent from IOS, so it is not an nRF51 issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23912?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 13:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3af3e84e-648b-420e-bc00-265ec13c5b77</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Ok, May be we can wait for reply from iOS developer. it is good that you can able to reproduce the issue what we are facing here :) . By the way which SDK we are using right now? . I am using SDK 6.1.0 . I hope it is not SDK issue. And how you are measuring the 10 second interval?
Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23911?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 13:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e21a53-3f3d-4a46-8918-79267d06cf16</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;This seems to be an IOS policy. This delay is not present on Android or with Master Control Panel (master emulator firmware). I have tried both with Iphone and Ipad and the delay is exactly 10 seconds from sending CONNECT_REQ to the peripheral until sending LL_TERMINATE_IND. I do not really understand the reason for the IOS to apply this delay. Asking around in the support group, nobody seems to have heard about any reason for it from apple either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23910?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 13:24:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:800ea03f-0699-46b5-b027-45625d586c25</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Thanks Stefan, Please check and let me know. Are you also observing 10 second ?
Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23909?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 12:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2a8d67d-97b6-4697-9727-44344482e2b8</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I can reproduce the problem now on ipad, and on iphone as well. I guess I was not disconnecting quickly enough after connecting. I will investigate what is going on and respond with any findings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23908?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 12:23:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2139d590-3987-4140-a030-d6bfa1e3c423</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;In the image, the five pulses are the LED blink on the nRF device. you can observe that the minimum connection establishment between the nRF and iOS device is 10 second.&lt;/p&gt;
&lt;p&gt;Can you test once with iPAD device. We are not using iphone.&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23907?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 11:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb48ffef-cefb-4b60-8345-45a339db7559</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I tested this with ble_app_uart in SDK 8.0.0 together with IOS nRF_Toolbox_master UART version 1.8 and the nRF51 device disconnects right away. I see that because the advertising led starts to blink as soon as I press disconnect on the iphone. When the ble_app_uart application receives the &amp;quot;DISCONNECTED&amp;quot; callback, it will start advertising.  So I am still not able to reproduce the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23906?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 10:50:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9d35ea5-d4eb-428a-a657-ecf9def41fd3</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I added the image to the thread. In this image, are we looking at the current consumption of the nRF51 device? If so, are these 5 pulses BLE connection events, which then stop when you disconnect?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23905?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 10:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe9009f2-23a0-467e-9637-28a302ca536b</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;The below is the new case registered URL&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/eng/supportcase/view/21829"&gt;www.nordicsemi.com/.../21829&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23904?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 10:02:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5908fe8c-1e45-4aff-b986-31b812948330</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Hi Stefan,
I have registered the new case and attached the snapshot .&lt;/p&gt;
&lt;p&gt;The IOS version we are using is as follows.
Ios 8.1.2
Device : Ipad3&lt;/p&gt;
&lt;p&gt;The app we are using is the nRF_Toolbox_master UART  which communicates with our nRF application which we developed.&lt;/p&gt;
&lt;p&gt;You are right , I tested that also, i have checked the disconnet command coming from IOS and MCP device, both are same.(LL_TERMINATE_IND)&lt;/p&gt;
&lt;p&gt;I saw the disconnection in the NRF side which is connected across the CRO.The IOS device device is sending the disonnection command in 3 second but the disonnection happens after 30 seconds only.&lt;/p&gt;
&lt;p&gt;Note : If i send the disconnect command from the MCP to the nRf application, it disconnect soon.&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23903?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 09:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95a331dd-3855-40e6-bbef-09ea0fc23bfc</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I will also try to test with nRF_Toolbox_master UART app and try to reproduce the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23902?ContentTypeID=1</link><pubDate>Thu, 07 May 2015 09:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3ec1e61-d86c-432d-97a7-76c33cde93cd</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Anand&lt;/p&gt;
&lt;p&gt;Can you please report what IOS version you have, what iphone version, and what app you are using?&lt;/p&gt;
&lt;p&gt;Perhaps the best method is to use a BLE sniffer to identify the problem, i.e. to identify what is the difference between the disconnect from MCP and from IOS.&lt;/p&gt;
&lt;p&gt;In my previous test with the IOS nRFToolbox HRM app and the ble_app_hrs example running on the nRF51 DK board, I see that the advertising led starts to blink immediately after I press disconnect on the IPhone (i.e. in the nRFToolbox HRM app). How do you see your disconnection? on the nRF51 device or on the iphone?&lt;/p&gt;
&lt;p&gt;If you create a support case in the support portal, you can attach images, code and such. Go to www.nordicsemi.com an log in. Press &amp;quot;My page&amp;quot; and then &amp;quot;Register new case&amp;quot; in order to create a support case. Notify me here when you have created your case so I can notice your case and see your snapshot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23901?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 15:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:262cff27-6549-4766-8e8f-ba0c74060ce9</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;I have tested the our nRF application with MCP. It connects and disconnects as soon as you send the connect/disconnect command from the MCP. Where as with iOS application it tooks 10 seconds to disconnect even though you send the disconnect command earlier than 10 seconds.&lt;/p&gt;
&lt;p&gt;Regards,
Anand
Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23900?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 14:27:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac11fc78-71b4-4c25-9525-e6b052ccf4e6</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;I have posted the same question in IOS apple developer forum. No answer from them.&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23899?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 14:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91a4df8f-282e-4683-a65d-0c3fe85cfe6a</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Hi Stefan,
We have this issue from past 1 month, can you please let me know what could be the issue. Is it on iOS side or nRF side?&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23898?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 14:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f16edd7-a29e-40e8-a69e-d66bb8e774d7</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Can you please send me the mail ID of yours , i will send you the snapshot.&lt;/p&gt;
&lt;p&gt;Regards,
Anand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23897?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 14:04:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa4981f-a807-4d55-88e8-938b14937e6a</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;We have developed our own iOS app  to communicate with nRF.
Anyway I have tested the nRF application with the IOS-nRF_Toolbox_master UART app, there also it is taking minimum 10 second to diconnect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection interval issue between nRF51822 and iOS device</title><link>https://devzone.nordicsemi.com/thread/23896?ContentTypeID=1</link><pubDate>Wed, 06 May 2015 12:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e57a408-b44f-4072-8868-3331e90107a4</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Anand&lt;/p&gt;
&lt;p&gt;What app are you using on the IOS that shows the 10 second connection? If you use IOS nRFToolbox HRM app together with the ble_app_hrs example on the peripheral you can see that the peripheral disconnects immediately and starts advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>