<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BLE Privacy Advertising Address in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625558#M2016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The confusion I'm having is that the advertisement parameters were _not_ using the random address, and the ble sniffers were detecting the public address in the advertisement packet. &amp;nbsp;I'm not focusing on the connection part, this is before all of that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 16:33:40 GMT</pubDate>
    <dc:creator>michaelbrudevo1</dc:creator>
    <dc:date>2017-03-24T16:33:40Z</dc:date>
    <item>
      <title>BLE Privacy Advertising Address</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625556#M2014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cloned the wireless UART example application and modified&amp;nbsp;gAppUseBonding_d/gAppUsePairing_d/gAppUsePrivacy_d all to 1 in app_preinclude.h. &amp;nbsp;The issue I observe is that the device advertises using the public address (00:04:9F:00:00:0A), rather than the private address. &amp;nbsp;If I set&amp;nbsp;gAdvParams.ownAddressType to&amp;nbsp;gBleAddrTypeRandom_c in BleConnManager_GapDualRoleConfig, it uses the random address. &amp;nbsp;Is this a known issue? &amp;nbsp;The more confusing part is that documentation for ownAddressType states: "If BLE 4.2 Controller Privacy is enabled, this parameter is irrelevant as Private Resolvable Addresses are always used."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An additional related issue is that with all the settings as such, the RandomRxBdAddr is set to 1 in the advertising packet, in violation of the Bluetooth spec indicating that it is RFU and should be set to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using version&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1.0.2 of the connectivity software.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 18:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625556#M2014</guid>
      <dc:creator>michaelbrudevo1</dc:creator>
      <dc:date>2017-03-06T18:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: BLE Privacy Advertising Address</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625557#M2015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enabling the Privacy feature&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#define gAppUsePrivacy_d 1&amp;nbsp;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;means that once you perform a connection and go through the pairing/bonding procedure, a RPA will be generated using the IRK exchanged during pairing procedure. Before that, the application configures the advertisement parameters to use a random address.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 23:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625557#M2015</guid>
      <dc:creator>albertovargas</dc:creator>
      <dc:date>2017-03-23T23:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: BLE Privacy Advertising Address</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625558#M2016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The confusion I'm having is that the advertisement parameters were _not_ using the random address, and the ble sniffers were detecting the public address in the advertisement packet. &amp;nbsp;I'm not focusing on the connection part, this is before all of that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 16:33:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625558#M2016</guid>
      <dc:creator>michaelbrudevo1</dc:creator>
      <dc:date>2017-03-24T16:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: BLE Privacy Advertising Address</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625559#M2017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check on&amp;nbsp;BleApp_Config() which of the following functions are being called:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;void BleConnManager_GapDualRoleConfig(void);&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;void BleConnManager_GapPeripheralConfig(void);&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;void BleConnManager_GapCentralConfig(void);&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you identify the function, go to it and take a look to the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;//Code from&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;BleConnManager_GapDualRoleConfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#if gAppUsePrivacy_d&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; gAdvParams.peerAddressType = gBleAddrTypeRandom_c; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt; gScanParams.ownAddressType = gBleAddrTypeRandom_c; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#endif&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;As you can see, if privacy is enabled this will modify the scanning/advertisement paramenters. If you want to set the advertisement address as random, add the following line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: normal;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;//Code from&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;BleConnManager_GapDualRoleConfig&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: normal;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#if gAppUsePrivacy_d&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;gAdvParams.peerAddressType = gBleAddrTypeRandom_c;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: normal;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;gAdvParams.ownAddressType = gBleAddrTypeRandom_c; &lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;gScanParams.ownAddressType = gBleAddrTypeRandom_c; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;#endif&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 17:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625559#M2017</guid>
      <dc:creator>albertovargas</dc:creator>
      <dc:date>2017-03-24T17:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: BLE Privacy Advertising Address</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625560#M2018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I proposed exactly that solution in my original post. &amp;nbsp;The reason for my post is I'm wondering why that is not the default configuration? &amp;nbsp;Shouldn't users who enable privacy want to actually use it (e.g., advertise using the random address)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 17:31:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/625560#M2018</guid>
      <dc:creator>michaelbrudevo1</dc:creator>
      <dc:date>2017-03-24T17:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: BLE Privacy Advertising Address</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/2139745#M19888</link>
      <description>It's really diffcult change the public address to rpa address, and have not enough files to support it</description>
      <pubDate>Thu, 24 Jul 2025 02:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Privacy-Advertising-Address/m-p/2139745#M19888</guid>
      <dc:creator>Yunping</dc:creator>
      <dc:date>2025-07-24T02:48:27Z</dc:date>
    </item>
  </channel>
</rss>

