<?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>Change Bluetooth identity address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43927/change-bluetooth-identity-address</link><description>Hi, 
 I use nRF5 SDK v15.0.0. In my application I need to change Bluetooth identity address. I can not use BLE_GAP_ADDR_TYPE_RANDOM_STATIC address type, because I need to change all the bytes and want to show our own MAC address. I use BLE_GAP_ADDR_TYPE_PUBLIC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Feb 2019 11:11:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43927/change-bluetooth-identity-address" /><item><title>RE: Change Bluetooth identity address</title><link>https://devzone.nordicsemi.com/thread/172488?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 11:11:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b092c7a-03a4-4f18-b8b3-dc2b6f52b7e8</guid><dc:creator>S_Ma</dc:creator><description>&lt;p&gt;Thank you for your response. I did not set AD flag. Now I&amp;nbsp;&lt;span&gt;set flag to&amp;nbsp;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE &lt;/span&gt;&lt;span&gt;and device type changed LE only.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change Bluetooth identity address</title><link>https://devzone.nordicsemi.com/thread/172477?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 10:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:536cc0b8-63a4-4f2a-b32b-14630d4e9fd3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="70924" url="~/f/nordic-q-a/43927/change-bluetooth-identity-address"] I see that my device type changed from &amp;quot;Le only&amp;quot; to &amp;quot;CLASSIC and&amp;nbsp; LE&amp;quot;[/quote]
&lt;p&gt;Did you change anything else? It&amp;#39;s the&amp;nbsp;advertisement Flag AD type that sets the device type. In many of the BLE examples in the SDK you will see that it&amp;#39;s set to&amp;nbsp;BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE.&lt;/p&gt;
&lt;p&gt;Snippet:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void advertising_init(void)
{
    ret_code_t             err_code;
    ble_advertising_init_t init;

    memset(&amp;amp;init, 0, sizeof(init));

    init.advdata.name_type               = BLE_ADVDATA_FULL_NAME;
    init.advdata.include_appearance      = true;
    init.advdata.flags                   = BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>