<?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>Peer address changes every time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33604/peer-address-changes-every-time</link><description>Hello everybody. 
 I just startet developing with nrf products and I&amp;#39;m facing a problem there. 
 I&amp;#39;m currently developing a System based on the ble_app_uart_c example. I&amp;#39;m using the S132 Softdevice 5.0 with the SDK 14.2. 
 I modified the code so it prints</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 May 2018 11:49:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33604/peer-address-changes-every-time" /><item><title>RE: Peer address changes every time</title><link>https://devzone.nordicsemi.com/thread/131003?ContentTypeID=1</link><pubDate>Fri, 04 May 2018 11:49:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbfb0c7b-291b-436c-9297-d4987d615f8c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The case that you linked to is really another use case, since you want the DFU target to use a different address because it has to bypass the central (phone) *thinking* it knows what services the device has.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you sure that you are sniffing the correct device? Do you recognize the advertising packets?&lt;/p&gt;
&lt;p&gt;If you look at my screenshot below, you will see the highlighted area of the packet from ble_app_beacon (without modifications). As you can see, 01 02 03 04 at the end of the highlighted area are the&amp;nbsp;APP_MAJOR_VALUE and&amp;nbsp;APP_MINOR_VALUE from the top of main.c, and the rest of the highlighted area is the&amp;nbsp;APP_BEACON_UUID.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try to use the sniffing tool (nrf sniffer v2, requres only a DK) and see if you have a constant address, or if it is changing?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peer address changes every time</title><link>https://devzone.nordicsemi.com/thread/129172?ContentTypeID=1</link><pubDate>Fri, 20 Apr 2018 14:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33abf92d-324c-424d-962d-3e6ed2d6cf7c</guid><dc:creator>Hammerfall</dc:creator><description>&lt;p&gt;Small update&lt;/p&gt;
&lt;p&gt;I tried to solve the problem but I have no real solution so far.&lt;/p&gt;
&lt;p&gt;In the beacon example the advertiser is initialised with &amp;quot;NULL&amp;quot; as peer address.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;m_adv_params.type        = BLE_GAP_ADV_TYPE_ADV_NONCONN_IND;
m_adv_params.p_peer_addr = NULL;    // Undirected advertisement.  				
m_adv_params.fp          = BLE_GAP_ADV_FP_ANY;
m_adv_params.interval    = NON_CONNECTABLE_ADV_INTERVAL;
m_adv_params.timeo       = 0;       // Never time out.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Declaring a peer address and set it in this section doesn&amp;#39;t change anything. The address is still increasing.&lt;/p&gt;
&lt;p&gt;Also using the sd_ble_gap_addr_set() function doesnt change this behavior.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>