<?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>The basic Problem - directed broadcast</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14597/the-basic-problem---directed-broadcast</link><description>case BLE_ADV_EVT_PEER_ADDR_REQUEST:
{
 ble_gap_addr_t peer_address;
 peer_address.addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC; 
 peer_address.addr[5] = 0xf0;
 peer_address.addr[4] = 0x1b;
 peer_address.addr[3] = 0x6c;
 peer_address.addr[2] = 0x56;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jun 2016 16:13:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14597/the-basic-problem---directed-broadcast" /><item><title>RE: The basic Problem - directed broadcast</title><link>https://devzone.nordicsemi.com/thread/55715?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 16:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45daee6d-d9df-47bd-985b-396d7e7853ce</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Sorry. There are some language difficulties. Helping with directed advertising can be difficult, since it depends on the particular phone because of address etc.&lt;/p&gt;
&lt;p&gt;If the address that you use is correct, then the code should also be OK. In order to find out what stages works and what stages does not work:&lt;/p&gt;
&lt;p&gt;Does everything work when you do normal advertising?&lt;/p&gt;
&lt;p&gt;What kind of nRF device is it, is it a Development Kit? If so, does the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fble_sdk_app_hids_mouse.html&amp;amp;cp=5_0_0_4_2_2_12"&gt;HID Mouse example&lt;/a&gt; work? The HID Mouse example uses directed advertising to reconnect to the last central when the link is lost. To see that this existing example works would be a first step to getting a custom application work using the same feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The basic Problem - directed broadcast</title><link>https://devzone.nordicsemi.com/thread/55714?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 01:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfa17811-c5a7-4565-a9df-87c7036dde0d</guid><dc:creator>Sriun</dc:creator><description>&lt;p&gt;I have to wonder whether your Bluetooth - directed broadcast to achieve.Because,I asked your FAE engineer,also did not give a reasonable answer;Finally, just to hit customers with problems to solve.
I&amp;#39;m thinking about whether to continue to use your nrf51822.I was disappointed that two weeks time, a simple directed broadcast is not resolved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The basic Problem - directed broadcast</title><link>https://devzone.nordicsemi.com/thread/55713?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 11:07:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d04cccc2-40b9-4876-85c4-f02fd841b037</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Do you have problems searching for any Bluetooth devices, or is the problem only not finding your device when it uses directed advertising?&lt;/p&gt;
&lt;p&gt;Please provide new information here by posting comments and/or adding more information to the original question, not by starting a new question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The basic Problem - directed broadcast</title><link>https://devzone.nordicsemi.com/thread/55712?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 01:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72079dc9-5a6c-4690-a329-6efb8d6f723a</guid><dc:creator>Sriun</dc:creator><description>&lt;p&gt;Thank you very much ,However, the problem is not resolved, the phone still can&amp;#39;t search for Bluetooth devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The basic Problem - directed broadcast</title><link>https://devzone.nordicsemi.com/thread/55711?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2016 11:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:365c4248-1433-43d1-b577-b0c1875270e6</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should check two things.&lt;/p&gt;
&lt;p&gt;First, check that the byte ordering of the address is correct. addr[0] should be the least significant byte, and addr[5] should be the most significant byte. Is the address you see in the InitA field of the log correct? (Byte ordering is confusing, so it may be wrong byte ordering.)&lt;/p&gt;
&lt;p&gt;Second, check that the address type is correct. You have chosen BLE_GAP_ADDR_TYPE_RANDOM_STATIC but the correct type may be another type. See &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v2.0.0%2Fgroup___b_l_e___g_a_p___a_d_d_r___t_y_p_e_s.html"&gt;GAP Address types&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If the phone is made by Pulsate Mobile Ltd. (company ID 0x01BE) then the address should probably be reversed and be of type BLE_GAP_ADDR_TYPE_PUBLIC. Public addresses uses the registered company ID for the two most significant bytes, see &lt;a href="https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers"&gt;bluetooth.org&lt;/a&gt; for a list of company IDs.&lt;/p&gt;
&lt;p&gt;Regards, Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>