<?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>nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8382/nrf51-as-central-ios-as-peripheral-pairing</link><description>Hello 
 There are a lot of information, examples and questions about pairing with iOS, where iOS acts as central and nrf acts as peripheral, but there is absolutely no information about the opposite case. 
 I develop iOS application witch acts as BLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Aug 2015 15:55:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8382/nrf51-as-central-ios-as-peripheral-pairing" /><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30420?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2015 15:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1028b5da-6100-4307-a445-7678017f406e</guid><dc:creator>Vitaliy</dc:creator><description>&lt;p&gt;Please edit this answer and add that comment from the other thread how to edit this project to make it work, if someone will download this version&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30419?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 11:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c41867b7-1e9a-4739-a19e-a8234b76016b</guid><dc:creator>Vitaliy</dc:creator><description>&lt;p&gt;Thanks, Petter. I created a separate question there: &lt;a href="https://devzone.nordicsemi.com/question/47209/nrf51-as-central-ios-as-peripheral-bounding-to-a-known-device/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30418?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 07:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1f3b870-b1de-47b3-842e-5d9fc0d03ea8</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Please see my updated answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30417?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 15:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f91ec4b9-15a7-4ed2-a511-89f0675d9ffb</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you have other specific questions I would appreciate if you could add them separately, and add a reference to this question if it is relevant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30416?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 15:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0147524f-dba4-47a2-b50e-4f668fb8e048</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Ok. We sell hardware; you can run whatever application you want on it. Our SDK doesn&amp;#39;t support everything and anything. Section 7 in the &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v9.x.x/doc/9.0.0/license.txt"&gt;licence agreement&lt;/a&gt; for the SDK may be of interest.&lt;/p&gt;
&lt;p&gt;I said I would try to look into this some more, so I could give you a more detailed description of the problem/problems. We haven&amp;#39;t implemented this, so we haven&amp;#39;t tested it. Yes, the Device Manager Peripheral library supports IRK, and the problem or part of the problem may be solved by examining it. I&amp;#39;m trying to help you, but the question you asked is very general, so I gave you general information on how to implement pairing and bonding on a central, together with information about an issue that I&amp;#39;m aware of, if the peripheral is an iOS device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30415?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 14:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c427ccf0-f8a6-4959-a746-5621d8da484a</guid><dc:creator>Vitaliy</dc:creator><description>&lt;p&gt;We bought 1000 units of this modules and we &amp;quot;suggest&amp;quot; that it&amp;#39;s sdk works. Is there any detailed description of this problem to understand what should we change in sdk to solve this problem?&lt;br /&gt;
It&amp;#39; looks like it implemented in Device Manager Peripheral library. Should we use it as a start or this problem has the other reason?&lt;/p&gt;
&lt;p&gt;It looks like device manager not implements correctly &amp;quot;GAP Central Bonding: Passkey Entry (Peripheral display) or OOB MSC&amp;quot; sequence chart, is that true? I don&amp;#39;t see any information to recognize real iOS address (identity key)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30414?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 14:14:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:273be887-38d1-470e-8772-a0579441a147</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Yes. You can make your own &amp;quot;device manager central&amp;quot; or modify the library. It is just given as a suggestion on how to handle pairing and bonding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30413?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 14:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cf16e55-b6e4-4b7e-a7a3-5a9697ae35fe</guid><dc:creator>Vitaliy</dc:creator><description>&lt;p&gt;Is there any way to do it not &amp;quot;out of the box&amp;#39;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30412?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 14:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c633d80-a63c-4302-a3bc-ad4be1524e2f</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Unfortunately, no.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30411?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 13:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa139c6-3cf3-411c-a520-c4493eadaa6a</guid><dc:creator>Vitaliy</dc:creator><description>&lt;p&gt;Thanks, does this problem (IRK) resolved in sdk v9.0.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 as central iOS as peripheral pairing</title><link>https://devzone.nordicsemi.com/thread/30410?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2015 13:44:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32e6a825-1f22-4d4f-ab8a-207c4a58a7bb</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;There are some information. We have central examples in our SDK, like ble_app_hrs_c. We have message sequence charts that describe most of the procedures. See &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v1.0.0/group___b_l_e___g_a_p___m_s_c.html?cp=2_7_2_1_0_2_1_0"&gt;this&lt;/a&gt;. For central applications we have a device manager central library to handle pairing and bonding.&lt;/p&gt;
&lt;p&gt;Unfortunately, this library will not work out of the box with iOS, since it uses IRK. Please see &lt;a href="https://devzone.nordicsemi.com/question/23639/device-manager-central-problem/"&gt;this&lt;/a&gt;. I try to look into this some more, but this is the answer I have for you at this point.&lt;/p&gt;
&lt;p&gt;Edit 30.07.2015: I modified the ble_app_hrs_c example and the device manager central library. It seems to be working with peripherals that use random resolvable address.&lt;/p&gt;
&lt;p&gt;If there are no bonds it will scan and connect normally, if there are any bonds, it will scan and connect with whitelisting using the addresses and IRKs for the bonded devices.&lt;/p&gt;
&lt;p&gt;If a connection to a previously bonded IRK device is made, the device manager will use the IRK to identify the correct bond. Then it will not pair again, but just encrypt the link using the previously shared LTK.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_hrs_5F00_c_5F00_iOS_5F00_peripheral.rar"&gt;Here&lt;/a&gt; is my project, it is given as is, and with limited testing. You can find the changes I made by searching for pemy. I used SoftDevice S120 2.1.0 and SDK 9.0.0. Unzip the project to \examples\ble_central.&lt;/p&gt;
&lt;p&gt;Edit 07.08.2015: There was a bug in the project. &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_hrs_5F00_c_5F00_iOS_5F00_peripheral_5F00_with_5F00_fix.rar"&gt;Here&lt;/a&gt; is the project with a fix.&lt;/p&gt;
&lt;p&gt;Be sure to use the device manager central library included in the folder. The project in \pca10028\s120\arm5_no_packs uses it, but for example the project in \pca10031\s130\arm5_no_packs doesn&amp;#39;t. Just remove the library and add the one included in the folder instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>