<?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>Ble auto connection problem in ios</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39171/ble-auto-connection-problem-in-ios</link><description>Hello Nordic 
 I am developing our device. It uses SDK 14.2.0 and s332 SoftDevice. 
 This device communicate our app by using ble as peripherals. 
 I thought that our project was outgoing to success. 
 But I have the problem. That is auto connection in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Oct 2018 07:50:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39171/ble-auto-connection-problem-in-ios" /><item><title>RE: Ble auto connection problem in ios</title><link>https://devzone.nordicsemi.com/thread/151588?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 07:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93f4ffc7-62b8-4db2-8e4b-149ff1f5ff43</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;iOS always reconnects to peripherals with ANCS automatically. I do not believe it is possible for an app to change this behavior.&lt;/p&gt;
&lt;p&gt;What is the reason you want the phone to only connect if the app is active?&lt;/p&gt;
&lt;p&gt;If the point is to let the peripheral know that the user is using the app, then another approach could be for the app to write to a specific characteristic in the peripheral whenever the app is started. You could also consider writing to a characteristic whenever the app is closed so that the peripheral can know that the user is no longer using the app on the iOS device.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>