<?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>How to set the Bluetooth connection interval via mobile apps</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85194/how-to-set-the-bluetooth-connection-interval-via-mobile-apps</link><description>Hi, guys. I&amp;#39;m using both nRF5 SDK v17.1.0 and the S112 SoftDevice v7.3.0 with the PCA10056 (Rev 2 nRF52840 board). 
 
 infocenter.nordicsemi.com/index.jsp 
 I used the sd_ble_gap_ppcp_set() function to set the CONNECTION INTERVAL from the nRF52 side.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Mar 2022 05:24:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85194/how-to-set-the-bluetooth-connection-interval-via-mobile-apps" /><item><title>RE: How to set the Bluetooth connection interval via mobile apps</title><link>https://devzone.nordicsemi.com/thread/355417?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 05:24:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbd2ff0a-1cf1-4541-8025-c340505ee9c3</guid><dc:creator>Olaf</dc:creator><description>&lt;p&gt;You can&amp;#39;t set it for central role apps. You could try to make your peripheral supporting HID profile.&amp;nbsp;&lt;a href="https://developer.apple.com/library/archive/qa/qa1931/_index.html"&gt;https://developer.apple.com/library/archive/qa/qa1931/_index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If Bluetooth Low Energy HID is one of the connected services of an accessory, connection interval down to 11.25 ms may be accepted by the Apple product.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Only if the app is acting as a peripheral you can select from 3 values like in Android.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393277-setdesiredconnectionlatency"&gt;https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393277-setdesiredconnectionlatency&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set the Bluetooth connection interval via mobile apps</title><link>https://devzone.nordicsemi.com/thread/355402?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 01:12:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95006e33-a9f2-4fd3-a558-a47d4ce2ff19</guid><dc:creator>Matthew K</dc:creator><description>&lt;p&gt;Thank you Olaf!&lt;/p&gt;
&lt;p&gt;Just to be clear, you mean iPhone mobile apps cannot set the connection interval, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set the Bluetooth connection interval via mobile apps</title><link>https://devzone.nordicsemi.com/thread/355149?ContentTypeID=1</link><pubDate>Sun, 27 Feb 2022 19:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf64398e-0737-484d-a019-d0939b03063b</guid><dc:creator>Olaf</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;for iOS take a look at &lt;a href="https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf"&gt;https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Chapter 40.6 Connection Parameters:&lt;/p&gt;
&lt;div class="page" title="Page 180"&gt;
&lt;div class="layoutArea"&gt;
&lt;div class="column"&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;SFHello&amp;#39;;font-size:11.000000pt;"&gt;&lt;code&gt;The accessory is responsible for the connection parameters used for the Low Energy connection. The accessory should request connection parameters appropriate for its use case by sending an L2CAP Connection Parameter Update Request at the appropriate time. See the Bluetooth 4.0 specification, Volume 3, Part A, Section 4.20 for details.&lt;/code&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;SFHello&amp;#39;;font-size:11.000000pt;"&gt;&lt;code&gt;&lt;/code&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;For Android you could have a look at:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;SFHello&amp;#39;;font-size:11.000000pt;"&gt;&lt;a href="https://stackoverflow.com/questions/21398766/android-ble-connection-time-interval"&gt;https://stackoverflow.com/questions/21398766/android-ble-connection-time-interval&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;SFHello&amp;#39;;font-size:11.000000pt;"&gt;Answer 3:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;SFHello&amp;#39;;font-size:11.000000pt;"&gt;&lt;code&gt;Since Android Lollipop API level 21 you can use: &lt;a href="https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html#requestConnectionPriority(int)" rel="nofollow"&gt;requestConnectionPriority()&lt;/a&gt; With 3 levels: CONNECTION_PRIORITY_BALANCED, CONNECTION_PRIORITY_HIGH or CONNECTION_PRIORITY_LOW_POWER.&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But as you see in the Apple document, the peripheral is the right place to change connection interval parameter.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Olaf&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>