<?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>Scan Addresses changing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66012/scan-addresses-changing</link><description>Hello, 
 In demo code of Central_Uart code in nRF Connect SDK, when the scanning is started the scan address (MAC) keeps on changing everytime the code is run. (The central board and peripheral board are not connected in this case because when the CONNECT_REQ</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Sep 2020 01:44:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66012/scan-addresses-changing" /><item><title>RE: Scan Addresses changing</title><link>https://devzone.nordicsemi.com/thread/269967?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 01:44:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d0cb25e-796a-4316-9592-23f0eb5d159f</guid><dc:creator>RajLav</dc:creator><description>&lt;p&gt;Thank you for the response, it worked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Addresses changing</title><link>https://devzone.nordicsemi.com/thread/269966?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 09:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5c22543-e811-44ae-adfc-a6bb7bb6f64f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Raj,&amp;nbsp;&lt;br /&gt;I&amp;#39;m terribly sorry that I didn&amp;#39;t get back to your earlier.&amp;nbsp;&lt;br /&gt;We found that if we use this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_BT_PRIVACY=n&lt;br /&gt;CONFIG_BT_CTLR_PRIVACY=n&lt;br /&gt;&lt;strong&gt;CONFIG_BT_SCAN_WITH_IDENTITY=y&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;in prj.conf&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and use&amp;nbsp;bt_set_id_addr() to set the device id address, I can fix the scanner address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is what I called in main() before bt_enable().&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;     bt_addr_le_t test={1,{1,2,3,4,5,0xc0}};
     err=bt_set_id_addr(&amp;amp;test);
        if (err) {
		printk(&amp;quot;Failed to set %d\n&amp;quot;,err);
		
	}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Addresses changing</title><link>https://devzone.nordicsemi.com/thread/269965?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 21:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2374a5b0-79d7-48ff-b2c5-44d6f9b2d708</guid><dc:creator>RajLav</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you got any update regarding my question above?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Scan Addresses changing</title><link>https://devzone.nordicsemi.com/thread/269964?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 13:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f7399cd-0be3-44e6-a0b9-142d8c334005</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Raj, &lt;br /&gt;I&amp;#39;m sorry for late response. &lt;br /&gt;I have tried here and can see the same behavior. &lt;br /&gt;Seems that setting CONFIG_BT_PRIVACY=n only applied for central&amp;#39;s address when establishing a connection, not the scanner&amp;#39;s address. &lt;br /&gt;I will check internally to see if there is a way to fix the scanner&amp;#39;s address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>