<?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>I want my app to auto connect to my nrf51822 device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9199/i-want-my-app-to-auto-connect-to-my-nrf51822-device</link><description>How do I make my phone to auto connect to my nrf51822 device when it is within range ? I dont want to keep having to tap connect on my app. (android and IOS)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 May 2018 06:27:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9199/i-want-my-app-to-auto-connect-to-my-nrf51822-device" /><item><title>RE: I want my app to auto connect to my nrf51822 device</title><link>https://devzone.nordicsemi.com/thread/130717?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 06:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:134fbd1d-f0c2-42b3-b040-5834394dd123</guid><dc:creator>Jackxl</dc:creator><description>&lt;p&gt;Is it realy autoconnect ? I know that AUTOCONNECT can reconnect, but does it realy work without previous connection and scan ? I need connect device each 10minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want my app to auto connect to my nrf51822 device</title><link>https://devzone.nordicsemi.com/thread/33919?ContentTypeID=1</link><pubDate>Sat, 19 Sep 2015 19:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d214eca0-3106-4b7a-9815-d6db3a370697</guid><dc:creator>Maansson</dc:creator><description>&lt;p&gt;I have been having some trouble making this work on Android.
Should the autoconnect work on all Android phones? Because changing the variable doesn&amp;#39;t really seem to make much of a change in my case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want my app to auto connect to my nrf51822 device</title><link>https://devzone.nordicsemi.com/thread/33918?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2015 12:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff4ed58-cbfe-4fa0-b9bc-4beb6862954e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Delee,&lt;/p&gt;
&lt;p&gt;On Android you can set &lt;code&gt;autoconnect = true&lt;/code&gt; when calling [BluetoothDevice-&amp;gt;connectGatt.](&lt;a href="http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#connectGatt(android.content.Context"&gt;developer.android.com/.../BluetoothDevice.html&lt;/a&gt;, boolean, android.bluetooth.BluetoothGattCallback))&lt;/p&gt;
&lt;p&gt;There is no autoconnect option for iOS but what you can do is to call connectPeripheral() whenever you got disconnected from the device. The connectPeripheral command has no timeout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>