<?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>How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98960/how-to-connect-with-direct-advertising</link><description>I am implementing a central device using the nRF Connect SDK. I want to connect to a peripheral device using direct advertising, but the central device does not seem to recognize the direct advertising. How can I connect to a device using direct advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jul 2023 14:26:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98960/how-to-connect-with-direct-advertising" /><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/437063?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 14:26:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2fc6752-910f-4366-971b-b6069b27e133</guid><dc:creator>tiva4c</dc:creator><description>&lt;p&gt;I am able to connect using direct advertisement without bonding first. Thanks for your help. I appreciate it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/436937?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 09:04:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cf5699c-649e-43e9-865f-3135d5531c33</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;In the ticket you&amp;#39;ve linked here, where do they mention that this is without bonding first?&lt;/p&gt;
&lt;p&gt;Also, please use your own ticket to discuss this instead of reopening this old one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/436570?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 21:57:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e360e13d-2b29-49ea-b2f1-4b3c881bd2c5</guid><dc:creator>tiva4c</dc:creator><description>&lt;p&gt;The central address is static random, so I don&amp;#39;t think I need the private key. The central device is nRF52840&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/436569?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 21:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3980529a-ed36-48f9-87d9-cdce5f9dcbd0</guid><dc:creator>tiva4c</dc:creator><description>&lt;p&gt;I think here&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84756/directed-advertising-not-seen-by-the-addressed-device"&gt;Directed Advertising not seen by the addressed device&lt;/a&gt;&amp;nbsp;they were able to do the direct advertisement without the bonding first, unfortunately, the zip file uploaded there, when I am trying to run that, it&amp;#39;s showing error, but this shows it is possible to do direct advertisement without bonding first.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/436438?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 10:21:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43a99d6b-9bc7-4c02-b61a-1f70d1e40393</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Yes this is correct, you&amp;#39;ll have to bond before using direct advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/436356?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 00:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e06be6f-139d-48bf-adf6-f539b6655c1c</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;I would like the Nordic member to respond this question if possible, unfortunately that is not possible. This is because you cannot create the private key to exchange for bonding.&lt;br /&gt;If you could do that, it would be easy to hack the system.&lt;br /&gt;I think the direct advertising is not suitable for your desired connection.&lt;br /&gt;I don&amp;#39;t know what you use for the central device, but I recommend you would use connecting a peripheral as a HID device instead of directed advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/436349?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2023 23:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6388336b-f43d-4c15-b465-6e45b6f733d5</guid><dc:creator>tiva4c</dc:creator><description>&lt;p&gt;You are bonding first and then doing the direct advertisement, did you ever try direct advertisement without bonding to the central first, like writing the central address yourself, and then making a connection with the central? With your code, I am able to connect, but my requirement is to connect to the central at power up, so no time to bond first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/435855?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2023 06:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c2239ec-61e8-4be0-8f4a-8816f781be3f</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;Sorry for late reply.&lt;/p&gt;
&lt;p&gt;I made a blog to share code for directed advertising.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://qiita.com/yoshihiro0709/items/3356318689e962a9a79f"&gt;https://qiita.com/yoshihiro0709/items/3356318689e962a9a79f&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This blog is written in Japanese, but you will get main.c and prj.conf for peripheral and central.&amp;nbsp;You can also read the pages using translations such as DeepL if necessary.&amp;nbsp;(Probably not necessary)&lt;/p&gt;
&lt;p&gt;I hope this is of some help to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/435107?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 04:55:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd0cdf2e-9fcf-45ca-87c6-307ad90b7d9e</guid><dc:creator>tiva4c</dc:creator><description>&lt;p&gt;could you share with me how did you do that, i have the peer address, and i want to do the direct advertisement to that central only, the advertisement code is working, but connection is not getting established, maybe scanner is not able to see the advertisement, thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/424439?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 08:21:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b906846b-a47c-4c50-917e-1f2a74ef15c9</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;I read through the links you gave me, but there was nothing about Directed Advertising.&lt;br /&gt;After that I could connect Directed Advertising with some trial and error.&lt;br /&gt;Therefore I will close this thread.&lt;br /&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/422463?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 08:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:187eec29-fa9b-4e92-8e62-ee396fafb4d2</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;I assume you&amp;#39;ve already looked at this sample?:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.zephyrproject.org/latest/samples/bluetooth/direct_adv/README.html"&gt;https://docs.zephyrproject.org/latest/samples/bluetooth/direct_adv/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re not able to make direct advertising work the way it is done here in your system, then I would recommend setting up a filter accept list instead yes.&lt;/p&gt;
&lt;p&gt;You might also find the discussion here interesting:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/50340"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/50340&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/422410?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2023 05:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853099ea-2dc7-4484-8646-3557baf38c07</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;Thank you for your information.&lt;/p&gt;
&lt;p&gt;I have read the web site and my understanding is&amp;nbsp;you recommend using a&amp;nbsp;filter accept list instead of directed advertising. right?&amp;nbsp;I could not find any information on directed advertising above web site.&lt;/p&gt;
&lt;p&gt;Please let me know if you know any information for direct advertising. Or&amp;nbsp;should I not use directed advertising in NCS perhaps?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Yoshihiro Goto&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect with direct advertising?</title><link>https://devzone.nordicsemi.com/thread/421673?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 09:07:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2776e480-255a-49c1-8d3b-31bc56f4098b</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;A BLE course was added to our Developer Academy recently, here is an exercise that deals with filter accept lists (which is what NCS calls whitelists):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/topic/blefund-lesson-5-exercise-2/"&gt;https://academy.nordicsemi.com/topic/blefund-lesson-5-exercise-2/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hopefully you will find this useful, let me know if you&amp;#39;re still having problems.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>