<?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>nRF52 BLE central auto-reconnect to iPhone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46279/nrf52-ble-central-auto-reconnect-to-iphone</link><description>Hi all, 
 My nRF52 application (central) uses a BLE link to connect to an Iphone (peripheral). 
 However it happens that the connection breaks, and I want to implement an automatic way the application 
 would reconnect to the phone. The issue is that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Apr 2019 17:33:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46279/nrf52-ble-central-auto-reconnect-to-iphone" /><item><title>RE: nRF52 BLE central auto-reconnect to iPhone</title><link>https://devzone.nordicsemi.com/thread/182462?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 17:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:601a0294-3aec-4453-b4c8-54681d332fbb</guid><dc:creator>Fred</dc:creator><description>&lt;p&gt;Ah, I see.&lt;/p&gt;
&lt;p&gt;Regarding the point of the iPhone not advertising when it is locked (i.e. the app moved to background processing), I myself only did this for the iPhone being a Central, but&amp;nbsp;&lt;a href="https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSApps/PerformingTasksWhileYourAppIsInTheBackground.html" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt; link from Apple explains that this should be possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 BLE central auto-reconnect to iPhone</title><link>https://devzone.nordicsemi.com/thread/182458?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 17:05:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48979774-e40f-4077-915a-6712c7d917d5</guid><dc:creator>vincent.golle</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And thanks !&lt;/p&gt;
&lt;p&gt;The iPhone needs to be the peripheral because it contains several 3rd party apps that i want/need to connect to.&lt;/p&gt;
&lt;p&gt;Hence I am stuck being the central device&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 BLE central auto-reconnect to iPhone</title><link>https://devzone.nordicsemi.com/thread/182455?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 16:46:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b416658b-0514-436e-83c4-f1c03f0d9816</guid><dc:creator>Fred</dc:creator><description>&lt;p&gt;Per the BLE specification, a peripheral can only connect when it is &amp;#39;connectable advertising&amp;#39;. This is because&amp;nbsp;right after sending an&amp;nbsp;advertising it starts the receiver to listen for a response for a possible scanner. This is a really short period. If nothing is received in this period, the peripheral will shut down (after it did the same on the other two advertising channels) and wait for the next advertising interval. So, if the peripheral is not advertising, no connection can be established.&lt;/p&gt;
&lt;p&gt;Just out of curiosity: is there a reason why you want the iPhone to be the peripheral? If you make the iPhone the Scanner/Central you can configure it to work even if locked by setting the application to update on the background.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>