<?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>Bonding and directed advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74432/bonding-and-directed-advertising</link><description>Hello, 
 I have an application where a BLE central connects to a BLE peripheral. Then the devices do the bonding procedure. After the devices are bonded the peripheral should only do directed advertising to that one central. 
 So far I can get the devices</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Apr 2021 06:20:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74432/bonding-and-directed-advertising" /><item><title>RE: Bonding and directed advertising</title><link>https://devzone.nordicsemi.com/thread/306908?ContentTypeID=1</link><pubDate>Tue, 27 Apr 2021 06:20:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8da388f4-297f-494d-8e64-3734fa078efc</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Ok, I found the problem.&lt;/p&gt;
&lt;p&gt;If ble_adv_directed_enabled is true, ble_adv_directed_interval and ble_adv_directed_timeout must not be 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding and directed advertising</title><link>https://devzone.nordicsemi.com/thread/306828?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 13:37:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c053230-bee0-4af9-8e2c-54ff86a94dac</guid><dc:creator>db_lw</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is how I initialize advertising:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ble_advertising_init_t init;
init.config.ble_adv_directed_enabled       = true;
init.config.ble_adv_directed_interval      = 0;
init.config.ble_adv_directed_timeout       = 0;
init.config.ble_adv_fast_enabled           = true;
init.config.ble_adv_fast_interval          = APP_ADV_INTERVAL;
init.config.ble_adv_fast_timeout           = APP_ADV_DURATION;
init.config.ble_adv_on_disconnect_disabled = true;
init.config.ble_adv_extended_enabled       = true;
init.config.ble_adv_primary_phy            = BLE_GAP_PHY_CODED;
init.config.ble_adv_secondary_phy          = BLE_GAP_PHY_CODED;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding and directed advertising</title><link>https://devzone.nordicsemi.com/thread/306819?ContentTypeID=1</link><pubDate>Mon, 26 Apr 2021 13:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14c0a40c-625f-4b49-a8db-a926a8d23b3a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Can you show me a code snippet of how you initialize advertising when you try to do directed advertising? I&amp;#39;m guessing you&amp;#39;re trying to add something to your advertising that is not supported by Coded PHY advertising.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>