<?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>Directed Advertising - How to make it work?!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39950/directed-advertising---how-to-make-it-work</link><description>Hi 
 Struggling getting Directed Advertising to work - I have been through all the examples and have been using the ble_app_hids_keyboard_nfc_pairing example. 
 My NRF52832 application generates a unique MAC in Main at startup. The device is a peripheral</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Oct 2018 15:48:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39950/directed-advertising---how-to-make-it-work" /><item><title>RE: Directed Advertising - How to make it work?!</title><link>https://devzone.nordicsemi.com/thread/155203?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 15:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df1a7e1-ed05-4eff-bd1b-dbe6fbdc4963</guid><dc:creator>veletron</dc:creator><description>&lt;p&gt;Cheers, I have disabled all directed advertising and am now using the whitelist method from the hid_keyboard example...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed Advertising - How to make it work?!</title><link>https://devzone.nordicsemi.com/thread/155107?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 12:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fd4d662-dd86-460d-896d-bf42793eb430</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;For instance directed is not supported by iOS:&lt;br /&gt;&lt;a href="https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf"&gt;https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf&lt;/a&gt;&amp;nbsp;(chapter 10.3)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You might also find other relevant information there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed Advertising - How to make it work?!</title><link>https://devzone.nordicsemi.com/thread/155069?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 10:36:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5b7308a-461a-4eef-86a8-782a15e64241</guid><dc:creator>veletron</dc:creator><description>&lt;p&gt;Oh.... As directed advertising appears to be a standard part of BLE 4.2 and all devices I am targeting are BLE 4.2 or better I assumed this would just work.&lt;/p&gt;
&lt;p&gt;Guess I will have to forget directed advertising as a solution and return to fast advertising+whitelisting.&lt;/p&gt;
&lt;p&gt;Unfortunately, the BLE is a tiny component in our project, but by far the most frustrating and time consuming component!&lt;/p&gt;
&lt;p&gt;Nigel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed Advertising - How to make it work?!</title><link>https://devzone.nordicsemi.com/thread/155019?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 08:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9db3313a-5422-4576-8ee0-8c93ccb6ea41</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It may be that the specific android phone you have don&amp;#39;t support directed advertising. To ensure that directed advertising is supported the peripheral device should do a discovery of the &lt;a href="https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.central_address_resolution.xml"&gt;central address resolution characteristic (CAR)&lt;/a&gt; of the phone, and if it is bonded and supported by the phone, then the peripheral can do directed advertisement. The implementation to check for CAR was included for the HID examples in SDKv15.2, you may try:&amp;nbsp;\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_hids_keyboard for comparison.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Directed Advertising - How to make it work?!</title><link>https://devzone.nordicsemi.com/thread/154921?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 15:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d806f0d3-18ff-472f-a7bb-90cb97ff95d9</guid><dc:creator>veletron</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Still no joy, I changed the&amp;nbsp;&lt;span&gt; &lt;/span&gt;adv_directed_timeout from zero to 10000. App now runs through the available advertising methods. Still cannot re-connect while&amp;nbsp;Directed advertising&amp;nbsp;is being done, can connect after it switches to FAST, but that does not fit my requirements. I can only assume that nothing is being advertised during the &amp;#39;directed&amp;#39; period- maybe there is another setting in the SDK that I need to enable?&lt;/p&gt;
&lt;p&gt;I have checked that the MAC that gets stored away at initial bond time matches that of the device in question, and also that the same MAC is retrieved via&amp;nbsp;ble_advertising_peer_addr_reply prior to directed advertising being started. Now at a total loss re how to make this work.&lt;/p&gt;
&lt;p&gt;Edit: Just setup the sniffer - someone needs to look at the instructions for that, they are awful! Oh, and make it work with the &amp;#39;nRF82840-Dongle&amp;#39; too (currently there is no way to get the firmware onto it).&lt;/p&gt;
&lt;p&gt;Anyway, I am getting direct advertisment packets, despite&amp;nbsp; nRFConnect (running on Android) complete refusal to re-connect to the peripheral using them.&lt;/p&gt;
&lt;p&gt;10070&lt;span&gt; &lt;/span&gt;225.442&lt;span&gt; &lt;/span&gt;f6:d7:12:6c:99:d8&lt;span&gt; &lt;/span&gt;LE 1M&lt;span&gt; &lt;/span&gt;LE LL&lt;span&gt; &lt;/span&gt;12&lt;span&gt; &lt;/span&gt;500&lt;span&gt; &lt;/span&gt;0&lt;span&gt; &lt;/span&gt;ADV_DIRECT_IND&lt;/p&gt;
&lt;p&gt;10071&lt;span&gt; &lt;/span&gt;225.449&lt;span&gt; &lt;/span&gt;f6:d7:12:6c:99:d8&lt;span&gt; &lt;/span&gt;LE 1M&lt;span&gt; &lt;/span&gt;LE LL&lt;span&gt; &lt;/span&gt;12&lt;span&gt; &lt;/span&gt;500&lt;span&gt; &lt;/span&gt;0&lt;span&gt; &lt;/span&gt;ADV_DIRECT_IND&lt;/p&gt;
&lt;p&gt;Adv data thus, and the MAC of the central is in there 9C:E0:63:FC:FC:D6&lt;/p&gt;
&lt;p&gt;0000 06 1f 00 02 86 35 06 0a 01 25 31 00 00 4f d7 02&lt;br /&gt;0010 00 d6 be 89 8e 21 0c d8 99 6c 12 d7 f6 d6 fc fc&lt;br /&gt;0020 63 e0 9c b6 ca e5&lt;/p&gt;
&lt;p&gt;Wireshark screenshot below. Given that this does not even re-connect with nRFConnect (android), it looks like I shall have to give up! No hope of me getting it to work with my own app.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1540835364189v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Nigel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>