<?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>Why the phone MAC bytes keep changing?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48059/why-the-phone-mac-bytes-keep-changing</link><description>I&amp;#39;m using an nRF52DK to monitor the RSSI and MAC address of my two phones through ble_evt_handler BLE_GAP_EVT_SCAN_REQ_REPORT. 
 I tested both Android and iPhone. They both showed strange behaviors regarding the Bluetooth address. 
 The iPhone changed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Jun 2019 21:25:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48059/why-the-phone-mac-bytes-keep-changing" /><item><title>RE: Why the phone MAC bytes keep changing?</title><link>https://devzone.nordicsemi.com/thread/193963?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2019 21:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da10d407-3baf-4468-b94f-4a5cee240962</guid><dc:creator>vn2000</dc:creator><description>&lt;p&gt;Thanks for your explanation run_ar.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why the phone MAC bytes keep changing?</title><link>https://devzone.nordicsemi.com/thread/193378?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 10:32:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2edc9b1d-0d6d-487c-a2e3-06f4b4e4af4b</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Just check the address type of &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.1/structble__gap__addr__t.html"&gt;ble_gap_addr_t,&lt;/a&gt; this returnes the addr_type, both in the &lt;span&gt;&lt;a title="ble_gap_evt_adv_report_t" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.1/structble__gap__evt__adv__report__t.html?cp=3_4_2_1_2_1_4_44"&gt;ble_gap_evt_adv_report_t&lt;/a&gt;&lt;/span&gt;&lt;span&gt; and in the &lt;a title="ble_gap_evt_connected_t" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.1/structble__gap__evt__connected__t.html?cp=3_4_2_1_2_1_4_21"&gt;ble_gap_evt_connected_t&lt;/a&gt; event. For details See &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v6.1.1/group___b_l_e___g_a_p___a_d_d_r___t_y_p_e_s.html"&gt;GAP Address types&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why the phone MAC bytes keep changing?</title><link>https://devzone.nordicsemi.com/thread/193290?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2019 06:22:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b23bf20-5dd2-40bf-809d-023102e5fe5a</guid><dc:creator>vn2000</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi run_ar, please can you tell me which 2 bits of the address that tell which address type?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why the phone MAC bytes keep changing?</title><link>https://devzone.nordicsemi.com/thread/192962?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 14:14:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c690e5ad-3b23-4345-a8d9-4ed4b2387df1</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;There is no rule like that. Both central and peripheral can use a resolvable private address or a static address. It depends on the configuration. However two bits of the address is used to indicate what address type is used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why the phone MAC bytes keep changing?</title><link>https://devzone.nordicsemi.com/thread/190657?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2019 06:42:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c0a3b10-b3ab-48ef-81c5-9ba07ceb5aea</guid><dc:creator>vn2000</dc:creator><description>&lt;p&gt;Hi run_ar, is there a way we can tell that it is a static address or private address? I noticed the nRF52DK always keeps the same address. Is there any particular rule, i.e., the central can change its address but the peripheral always keeps a same address?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why the phone MAC bytes keep changing?</title><link>https://devzone.nordicsemi.com/thread/190496?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 12:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27ebdcc7-18e1-4897-84f6-51ef1b292b40</guid><dc:creator>run_ar</dc:creator><description>[quote user=""]If we pair the phone and the nRF52DK, do they &amp;#39;remember&amp;#39; each other address? How does that work if the addresses are changed?[/quote]
&lt;p&gt;&amp;nbsp;That depends. If the peer device is using a static address our peer manager will remember the address for later usage. i.e. directed advertising or whitelisting. If the peer uses a private resolvable address, we would use the IRK for whitelisting and check that the peer suppores centra address resolution before doing directed advertising. The bond between the devices is not reestablished until the Long Term Encryption key has been verified, so the address is not used for that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>