<?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>ble directed connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12527/ble-directed-connection</link><description>hi everybody, 
 I&amp;#39;m working in a project, I need to establish a connection between a beacon &amp;amp; the mobile phone, I want to prevent any other masters of connection to my beacon, I used directed advertisment &amp;amp; it works proper, unfortatunely tha the mobile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Mar 2016 16:31:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12527/ble-directed-connection" /><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47513?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 16:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0af45de-a861-41c0-a62d-dfdf735412f5</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;okay, I&amp;#39;ll post another question&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47512?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 16:15:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c2cdf78-d107-428e-a282-738bd7a192d3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@mohamed: You would need to provide me more information than just &amp;quot;same problem&amp;quot; , &amp;quot;didn&amp;#39;t advertise&amp;quot;, like what kind of problem, what kind of error code you receive etc.&lt;/p&gt;
&lt;p&gt;Regarding the issue with bonding and DFU , I would suggest you to open another question, with as much information as possible. Note that most other customers, and us managed to do DFU with bonding just fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47505?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 15:09:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55a58093-d1a4-4b39-aeaa-a0ce37ffef8a</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;when I tried the app you asked me to try it didn&amp;#39;t advertise itself Hung :) :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47508?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 14:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c949657-380a-4979-af32-f860382f304c</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;yes, no way to get the IRK without bonding??&lt;/p&gt;
&lt;p&gt;I tested it on SDK s110
yes, I faced the same problem :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47511?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 13:34:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26d36e37-d220-4c83-a105-4cf490aecc25</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, the example showing whitelist with static address. You will notice that whitelist.pp_irks = NULL;
whitelist.irk_count =0;. If you want to make a whitelist for resolvable random address (on iOS device or maybe also Huawei) you need to get the IRK. To get the IRK you need to bond to the device. The IRK will be exchanged after bonded.
This is handled by the device manager automatically.&lt;/p&gt;
&lt;p&gt;You mentioned you were having problem with doing DFU with device manager and bonding, which SDK version you tested with ? Have you tried the ble_app_hrs_with_dfu example ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47510?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 13:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e609709e-6149-47ff-92ce-76425adc6e74</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;I&amp;#39;m agree with you I have a look on the post, but  you hardcoded the address which would be static, I need the address of any device to use in whitelist or directed advertisement, whatever, but I need the static one&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47509?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 13:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:201d0216-a161-43f7-ad29-074ebcafe000</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;@Hung Bui the central devices will be the Iphone, android platforms, they told me that Iphone changes the address every 15 minutes, huwaei brand changes the address every on/off bluetooth, I need something static to be shared with to keep connection to one central; someone told me that whitelist won&amp;#39;t help .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47506?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 12:08:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c597a32-d7c4-4aec-8d7d-24206393c60e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@mohamed: Have you had a look at the &lt;a href="https://devzone.nordicsemi.com/blogs/782/bluetooth-smart-and-the-nordics-softdevices-part-1/"&gt;post&lt;/a&gt; Kristin mentioned ?
Which type of address your central device uses ? Static address or Random resolvable address. Directed advertising only works with static address.
You can use whitelist, but you need to know which type of address your central has, to either to use the address or use the IRK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47507?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2016 00:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fad66533-7d3a-4e67-b33f-1a573b541d7a</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;Will whatnare kind of addresses that whitelist use to store??? I mean does it deal with the static address of the mobile or the random one??  Agian I don&amp;#39;t need to use bonding pairing as I need to do fota soomthly ???&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47504?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2016 13:20:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a08f1bb-65d3-40ac-8c71-be54dda0df72</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Okay, I see. The tutorial I linked to shows how to add devices to the whitelist without any interaction with the device manager.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47503?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2016 22:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2179501e-c668-4be8-a10f-aeeb1f85d1ef</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;I need to use whitelisting without using the bonding/pairing which is handled by the device manager, I need to be able to use FOTA &amp;amp; let device manager handles FOTA only
would it help kristin ?? , thank you for your great help, I&amp;#39;ll try &amp;amp; hope it help isA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47502?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2016 08:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb3b6dd0-4b78-488d-9c42-64011d7f12dc</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, it can be useful to use ble_advertising.c. &lt;a href="https://devzone.nordicsemi.com/blogs/782/bluetooth-smart-and-the-nordics-softdevices-part-1/"&gt;This&lt;/a&gt; tutorial shows how to add a whitelist when advertising. I would also recommend you to take a look at the documentation for the the advertising module, it can be found &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Flib_ble_advertising.html&amp;amp;cp=4_0_0_3_1_1"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that if you use the advertising module to switch between advertising with and without whitelist, the correct flags will not be set when leaving  advertising with whitelist. The fix can be found in &lt;a href="https://devzone.nordicsemi.com/question/70959/advertisment-directeddiscoverable/?answer=71073#post-id-71073"&gt;this&lt;/a&gt; post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47501?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 14:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eedb1110-877f-4df1-9145-bc48cc4c998a</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;thank you for your help, would you tell if ble_advertising.c will help to use the whitelisting or not, I don&amp;#39;t want to use the device manager to handle the coonection events because of FOTA won&amp;#39;t work in that case ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47500?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 12:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4b7aa71-be85-4b42-8166-6c36bbc3f1ad</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;When using directed advertising, the advertising packet includes the address of the only initiator that can connect to the advertiser. (Bluetooth Core Specification v.4.2, Vol. 6, Part B, chapter 4.4.2.4)&lt;/p&gt;
&lt;p&gt;Which mobile of do you use? An iPhone? If you are using an iPhone, directed advertising will not work because it changes address every 15 minute. Instead, you should use a whitelist containing the acceptable devices. The nRF51/52 can then recognize the iPhone based on its IRK.&lt;/p&gt;
&lt;p&gt;Security issue when only using directed advertising: If another device change its address to the initiator address in the advertising packet, that device will be able to connect to the advertising device as well. Using a whitelist in addition to the directed advertising will solve that problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble directed connection</title><link>https://devzone.nordicsemi.com/thread/47499?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2016 11:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194caccd-57f6-43e3-81f8-be7da2ea276e</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;any help please!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>