Does MAC ID broadcasted in Eddystone Beacon change?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 13:18:34

Yes, Android transmitters randomize their bluetooth MAC address. This is nothing specific to Eddystone, but to Android beacon transmitters of all types, and more precisely to Android BLE advertising.

To prove this, I ran some tests on my Nexus 5X. Using the Locate Beacon app to transmit a beacon in the iBeacon format (the same results apply to Eddystone and other formats too) I can see that the MAC address transmitted changes each time I stop and start advertising.

My Nexus 5X reveals its Bluetooth MAC address in Settings -> About Phone -> Status -> Bluetooth Address. It is 64:bc:0c:xx:xx:xx (Note: I have blanked out the last three device-specific bytes of the MAC, revealing only the first three bytes which is the Company OUI assigned to LG Electronics, the manufacturer of the Nexus 5X.)

For this test, I start a bluetooth LE scan on a Linux device configured with BlueZ. The scan outputs the MAC address of each new BLE device it finds. BlueZ does not scramble this MAC address.

Next, I repeatedly start and stop the transmitter on the Nexus 5X. Each time I do a new MAC address shows up in the scan results. In the output below, I hit the return key a couple of times to make blank lines after each detection to show when I turn the transmitter off and back on.

$ sudo hcitool lescan
LE Scan ...


5C:62:56:18:DA:A5 (unknown)
5C:62:56:18:DA:A5 (unknown)


6A:E8:D1:90:CA:26 (unknown)
6A:E8:D1:90:CA:26 (unknown)


70:A8:86:F7:E9:68 (unknown)
70:A8:86:F7:E9:68 (unknown)


66:F6:B4:24:89:44 (unknown)
66:F6:B4:24:89:44 (unknown)

As you can see, each time the transmitter is started, it send out a new randomized MAC address that has nothing to do with the physical MAC address reported by Settings.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!