<?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>Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53580/reconnect-automatically-after-bonding</link><description>Hi, 
 In my application,for the first time device (nrf52832)will start advertising and on nrfconnect for mobile application side we make it get connected and bonded.It may get disconnected, after certain functionality or due to bluetooth disable or battery</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Nov 2019 08:42:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53580/reconnect-automatically-after-bonding" /><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/218977?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 08:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01fa08f7-429d-4ae2-8b9a-65d920354190</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is no&amp;nbsp;&lt;span&gt;security setting in the nRF Connect mobile, but the bond function is enough for the security.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;em&gt;&amp;quot;When you choose &amp;quot;autoConnect&amp;quot; with the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nrf Connect app&lt;/strong&gt;, the Android will try to establish connection whenever the device is in range&amp;quot;. (source: Q&amp;amp;A page from the nRF connect app)&amp;nbsp;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Have you tested this functionality? You could see the nRF Connect autoconnect to the device if you turn off and on the power on DK.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e722350db1bf42afa178634068d67cad/238098_5F00_4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/218953?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 06:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34aeb6c9-1afb-487a-92ad-e216fe53e10b</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your clear explanation.Present my implementation part is on automatic reconnection if device is once bonded, my question is not about how to get bonded to device.Iam able to bond ,I already followed the same steps you mentioned inorder to get bonded.Thats not the issue.&lt;/p&gt;
&lt;p&gt;In Heart Rate Collector Example it is clearly mentioned that device gets automatically connected even after disconnection but it can be tested using 2 DK&amp;#39;s.In order to test similar functionality using 1 DK and one mobile As per your suggestion&amp;nbsp; I tried testing heart rate example but I am stuck at finding security settings.Is bonding is enough to get automatically connected after disconnetion?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/218728?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 08:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf8d353a-6ef4-4469-a95b-acb019fe1d31</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Usually, the Android API will pop up a window to ask to bond or reject.&amp;nbsp;&lt;/span&gt;&lt;span&gt;The bonding is managed by the system, so it is the phone that bonds, not any app. Once bonded, all apps can see this device as bonded.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;&lt;span&gt;Android API does not ask to bond, you could open &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Connect-for-mobile"&gt;nRF Connect for mobile&lt;/a&gt;&amp;nbsp;to initiate a bond after connecting to the device.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e722350db1bf42afa178634068d67cad/238098_5F00_1.png" /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;img alt=" " height="138" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e722350db1bf42afa178634068d67cad/238098_5F00_2.png" width="123" /&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If it is bonded successfully, you can see as:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e722350db1bf42afa178634068d67cad/238098_5F00_3.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For the implementation, you can refer to the &amp;lt;nRF5_SDK&amp;gt;\examples\ble_peripheral\ble_app_hrs and&amp;nbsp;&lt;a title="Usage" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_pm_usage.html?cp=5_5_0_3_2_7_2"&gt;Peer Manager/ Usage&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Enjoy!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/218603?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 13:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6043912c-1e25-4e47-b733-7ff6720273a2</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank You for your explanation.In testing procedure it is mentioned that we can test it using&amp;nbsp;&lt;span&gt;nRF Toolbox or nRF Connect.As per your suggestion&amp;nbsp; heart rate application does automatic reconnection if once it is bonded (involving 1DK and mobile).I just want to test and observe how implementation of automatic reconnection can be done.Please suggest how to follow the test procedure or guide me by letting me know the approach for implementing automatic reconnection if device is once bonded.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank You.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/218596?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 13:46:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe079fe7-e415-4ffa-837a-8486cfd91571</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nRF Toolbox does not initiate bonding, but the Android&amp;nbsp; API allows for this&amp;nbsp;for Bluetooth.&amp;nbsp;The bonding is managed by the system, so it is the phone that bonds, not any app. Once bonded, all apps can see this device as bonded.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s no way to select what type of bonding should be used. The system picks the most secure option based on device capabilities.&lt;/p&gt;
&lt;p&gt;-Amanda&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/218450?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 08:52:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c2cf821-79e3-4237-9249-6fde00cf46e2</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Thank you for your response.Even in nRF Toolbox I didn&amp;#39;t find security settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/218442?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 08:33:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a49d38d-89d8-4414-bb60-ba38948f43ea</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Those instructions are for &lt;span&gt;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Connect-for-desktop"&gt;nRF&amp;nbsp;Connect&amp;nbsp;for Desktop&lt;/a&gt;. If you want to test with mobile phones, you should use the &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Toolbox"&gt;nRF Toolbox&lt;/a&gt;&amp;nbsp;app. Please see&amp;nbsp;&lt;a title="Software Development Kit" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/ble_sdk_app_hrs.html?resultof=%22%45%6e%61%62%6c%65%22%20%22%65%6e%61%62%6c%22%20%22%4c%45%22%20%22%6c%65%22%20%22%53%65%63%75%72%65%22%20%22%73%65%63%75%72%22%20%22%43%6f%6e%6e%65%63%74%69%6f%6e%22%20%22%63%6f%6e%6e%65%63%74%22%20%22%70%61%69%72%69%6e%67%22%20%22%70%61%69%72%22%20"&gt;nRF5 SDK v15.3.0: Heart Rate Application&lt;/a&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test the Heart Rate Application with the nRF Toolbox app, which is available&amp;nbsp;on both iOS (App Store) and Android (Google&amp;nbsp;Play).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/218415?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 07:22:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bd07996-2918-407d-a277-93b7e7dad547</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When I tried following test procedure of heart rate example&amp;nbsp; I am stuck at &amp;quot;2&lt;span&gt;. Click the settings button, select &amp;quot;Security Settings&amp;quot;, check &amp;quot;Enable LE Secure Connection pairing&amp;quot;, and click &amp;quot;Apply&amp;quot; &amp;quot;.As I am unable to find security settingd in both iOS and Android&amp;nbsp; nRFConnect mobile app.where is this Security Settings present in mobile app?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank You.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/217304?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 11:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c93f9e85-6742-4201-af15-7c5c260ebc0a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;You can have a look at the&amp;nbsp;&lt;/span&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/ble_sdk_app_hrs.html?cp=4_0_0_4_1_2_13" rel="noopener noreferrer" target="_blank"&gt;heart rate example&lt;/a&gt;&lt;span&gt;&amp;nbsp;in the SDK. After you have connected to the device using nRF Connect, you can bond by pressing the three dots in the upper right corner then bond.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/217235?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 07:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5107d80a-8f1b-4261-a027-0b9d910f26d3</guid><dc:creator>swathi p</dc:creator><description>&lt;p&gt;Thank you for your response.As per your suggestion I thought&amp;nbsp; of going through implementation by testing BLE Heart Rate Collector Example but In testing procedure it is mentioned that two boards are required.I have only one DK.And more likely In my requirement I should be able to test using one DK(advertising) and nRFConnect(scanning) mobile app.Is that possible to test?If yes, let me know how it can be done?If no,please Guide me how to approach for such implementation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reconnect Automatically after bonding</title><link>https://devzone.nordicsemi.com/thread/216609?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 12:10:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ce4baca-4369-40df-956e-831fbe723592</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;The Central&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/ble_sdk_app_hrc.html?cp=4_0_0_4_1_0_0"&gt;BLE Heart Rate Collector Example&lt;/a&gt;&lt;span&gt;&amp;nbsp;implements bonding and whitelist. You can find the example in the folder&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;SDK_InstallFolder&amp;gt;\examples\ble_central\ble_app_hrs_c&lt;/code&gt;&lt;span&gt;. In order to Initiate bonding the central calls the function&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/group__peer__manager.html?cp=4_0_0_6_2_13_32#ga46dfaf46c0aa94fc15017d42b3a2e514"&gt;pm_conn_secure()&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>