<?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>Getting an iOS central app to bond</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8507/getting-an-ios-central-app-to-bond</link><description>I have an iOS app which is a central to a peripheral running on an nRF51822. A similar Android app works fine and is able to connect to the peripheral, discover services, bond explicitly, and read an encrypted characteristic. 
 On iOS, however, there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Aug 2015 17:20:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8507/getting-an-ios-central-app-to-bond" /><item><title>RE: Getting an iOS central app to bond</title><link>https://devzone.nordicsemi.com/thread/31067?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 17:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:229d771a-9c9f-4f0d-b161-ded6fbbb14cf</guid><dc:creator>gwayne</dc:creator><description>&lt;p&gt;+1&lt;br /&gt;
I&amp;#39;ve been having the same problem with an iOS app I&amp;#39;m writing and this solved it.  I didn&amp;#39;t need to reboot however.  After &amp;quot;forgetting&amp;quot; the previous connection turning bluetooth off, and then on again, in &amp;quot;settings-&amp;gt;bluetooth&amp;quot; had the same effect.  Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting an iOS central app to bond</title><link>https://devzone.nordicsemi.com/thread/31066?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 12:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:159a84c8-9995-4676-ab50-066f402a17b2</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;That was it - forgetting the device in the iOS Settings app and rebooting the phone did the trick. I now get the pairing prompt on the phone. Thanks very much. (I have converted your comment to an answer, btw.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting an iOS central app to bond</title><link>https://devzone.nordicsemi.com/thread/31065?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 12:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:796b10cb-2f3a-437c-a51f-d2ff106c4a9a</guid><dc:creator>Bill Siever</dc:creator><description>&lt;p&gt;iOS caches some details of device connections and saves bonding info.  You might want to go to the iOS Setting-&amp;gt;Bluetooth and &amp;quot;Forget&amp;quot; any of the known devices. (Sometimes with a dev board you&amp;#39;ll bond with one test case and then reprogram the board. iOS may retain the bond from the previous test).  You may want to reboot your iOS device too.&lt;/p&gt;
&lt;p&gt;Also, what firmware are you using as a test case? Something like the Heart Rate Example that is known to work correctly?  It&amp;#39;s possible you&amp;#39;ve missed a setting or event that iOS requires. Be sure that you have code to do a &lt;em&gt;sd_ble_gap_sec_params_reply()&lt;/em&gt; in response to a security parameters request. It might also be helpful to look at the sequence diagrams for bonding (like &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s110.api.v8.0.0/group___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___j_w___m_s_c.html"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s110.api.v8.0.0/group___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___j_w___m_s_c.html&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting an iOS central app to bond</title><link>https://devzone.nordicsemi.com/thread/31064?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 12:07:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49e488bc-7d2b-492e-8d38-97bbae9e0954</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;No. I&amp;#39;ll add the security params I pass to the device manager on the Nordic side to the question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting an iOS central app to bond</title><link>https://devzone.nordicsemi.com/thread/31063?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 11:39:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ab5a5d1-49b3-494d-a2eb-c617cc51ec49</guid><dc:creator>Kamran</dc:creator><description>&lt;p&gt;when you read secure characteristic, does it show bonding popup on screen?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting an iOS central app to bond</title><link>https://devzone.nordicsemi.com/thread/31062?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 09:22:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f87f9177-80fb-46e0-9366-59187589caa7</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Understood, but that is not the behaviour I&amp;#39;m seeing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting an iOS central app to bond</title><link>https://devzone.nordicsemi.com/thread/31061?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 09:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0076b1d4-528a-45d6-8209-611880e66e1f</guid><dc:creator>Kamran</dc:creator><description>&lt;p&gt;In IOS, bonding is triggered when you read/write a secure characteristic. Ofcourse first you need to discover services and characteristics and then you do read/write. If a characteristic requires security then bonding is triggered automatically by IOS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>