<?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>Disable address advertising.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15718/disable-address-advertising</link><description>Hi All, 
 I have a basic question about advertsing data, more precisely about device&amp;#39;s address.
I try to disable in my advertising data, the address field but it doesn&amp;#39;t work... 
 I do this like that: 
 uint32_t err_code;
ble_advdata_t advdata;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Aug 2016 05:22:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15718/disable-address-advertising" /><item><title>RE: Disable address advertising.</title><link>https://devzone.nordicsemi.com/thread/60000?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2016 05:22:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a77acf7-3cdc-4fe3-8eaa-96fc812e0a27</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;That is a good question indeed :)&lt;/p&gt;
&lt;p&gt;The advertising data packet format is defined by bluetooth, and Nordics implementation is just following this spec. But this data format is also used for other things, like OOB data, where this field could be necessary.&lt;/p&gt;
&lt;p&gt;For more info see &lt;a href="https://www.bluetooth.org/en-us/specification/assigned-numbers/generic-access-profile"&gt;GAP Assigned numbers @ bluetooth.org&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable address advertising.</title><link>https://devzone.nordicsemi.com/thread/59999?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2016 18:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d03364b-9b59-484c-b3f6-3acc6c00c0a7</guid><dc:creator>Yacire</dc:creator><description>&lt;p&gt;Thanks a lot Jorgen,&lt;/p&gt;
&lt;p&gt;But what is the purpose of adding the address to the packet_data during advertising, if it is already added to packet_header ?
I don&amp;#39;t understand why you added this possibility to do this in Nordic&amp;#39;s SDK ?&lt;/p&gt;
&lt;p&gt;Thansk.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable address advertising.</title><link>https://devzone.nordicsemi.com/thread/59998?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2016 15:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa46c232-0ed7-47aa-8b5d-c74503e0d52c</guid><dc:creator>J&amp;#248;rgen Kvalvaag</dc:creator><description>&lt;p&gt;It is not possible to advertise without the BLE address, this would be a spec violation. The BLE address is part of the BLE packet &lt;em&gt;header&lt;/em&gt;, the API you refer to (&lt;code&gt;include_ble_device_addr&lt;/code&gt;) is spesifically for adding the address to the packet &lt;em&gt;data&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want your device to be identifiable you can change the address to any value you like, using the softdevice API sd_ble_gap_address_set()&lt;/p&gt;
&lt;p&gt;&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___f_u_n_c_t_i_o_n_s.html&amp;amp;anchor=ga78b1e409a55beedde9902e2c35a5b5c9"&gt;Documentation link&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>