<?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>Bonding, Auto Connection, and App Disconnect Control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12126/bonding-auto-connection-and-app-disconnect-control</link><description>Hi, I&amp;#39;m using 
 
 
 IAR EWARM 7.20 
 
 
 PCA10001 V 2.0.0 (Changed the MCU to QFAAH00 Revision 3) 
 
 
 (I replaced the MCU to a QFAAH00 (0x0072) with a heat gun) 
 
 
 SDK 7.2 (using example ble_app_hrs ) 
 
 
 SoftDevice S110 7.1 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Feb 2016 07:14:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12126/bonding-auto-connection-and-app-disconnect-control" /><item><title>RE: Bonding, Auto Connection, and App Disconnect Control</title><link>https://devzone.nordicsemi.com/thread/45875?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 07:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34fcff69-ed9a-415c-bec8-7a1a9386d21e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You are probably not the only one. This is iOS behaviour. If you delete the peripheral from your iOS device, and connect via the nRF Toolbox app, you should see connection and disconnection function as expected. However, if you connect via iOS settings, you will see that iOS will automatically reconnect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding, Auto Connection, and App Disconnect Control</title><link>https://devzone.nordicsemi.com/thread/45874?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 02:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ffc3e7-3c50-48fa-8d4f-0795afa65be0</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;For instance, I merged HID keyboard and NUS together. I connected the peripheral with the nRF UART app.&lt;/p&gt;
&lt;p&gt;Even though I press &amp;quot;Disconnect&amp;quot; from the NUS app and shows error number 0,&lt;/p&gt;
&lt;p&gt;I still can send HID keyboard values to the phone.&lt;/p&gt;
&lt;p&gt;What I want is that, when I press the &amp;quot;Disconnect&amp;quot; button of the nRF UART, MCP, or Toolbox App,&lt;/p&gt;
&lt;p&gt;I want to make the bonded device to disconenct from HRS or HID together, not only the NUS.&lt;/p&gt;
&lt;p&gt;Similar to this, the Toolbox app does not &amp;quot;completely&amp;quot; disconnects the peripheral.&lt;/p&gt;
&lt;p&gt;Can you check this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding, Auto Connection, and App Disconnect Control</title><link>https://devzone.nordicsemi.com/thread/45873?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 02:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16ec959d-888a-454c-92ed-a71746c794b9</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;Thanks Einar. I have to take closer look about &amp;quot; Core Bluetooth Background Processing for iOS Apps&amp;quot;.&lt;/p&gt;
&lt;p&gt;About number 1, I check that, as you mentioned, the central sends LL_TERMINATE_IND PDU. I checked it with wireshark.&lt;/p&gt;
&lt;p&gt;However, am I the only user observing that the picture above&lt;/p&gt;
&lt;p&gt;(Bluetooth mark shown connected and settings menu still shows Norid_HRM)?&lt;/p&gt;
&lt;p&gt;Even though the app has disconnected and doesn&amp;#39;t receive any heart rate data,&lt;/p&gt;
&lt;p&gt;the iOS still has connection as shown in the picture.&lt;/p&gt;
&lt;p&gt;I want to make the central to totally disconnect.&lt;/p&gt;
&lt;p&gt;What I mean is that the settings menus should display the Nordic_HRM as disconnected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding, Auto Connection, and App Disconnect Control</title><link>https://devzone.nordicsemi.com/thread/45872?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2016 13:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ba1a6e3-1d91-4c90-bdc6-dfdfbb830abd</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In what way does disconnect not work well with HRM? Using a sniffer I can see that my iOS device with nRF Toolbox sends an LL_TERMINATE_IND PDU.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This is something that has to be implemented on the central side (iOS). You can implement this in your custom iOS app. Your app can scan for known peripherals and connect. This can be done as a background task. Refer to the &lt;a href="https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSApps/PerformingTasksWhileYourAppIsInTheBackground.html#//apple_ref/doc/uid/TP40013257-CH7-SW7"&gt;Core Bluetooth Background Processing for iOS Apps&lt;/a&gt; chapter of the Core Bluetooth Programming Guide.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>