同一设备会显示多个MAC地址

问题描述 投票:0回答:1

我使用Android实现了蓝牙广告客户和接收器。在接收器上,我想知道每个广告商是否都有唯一的MAC地址。为了测试我使用HTC手机作为接收器和三星j5手机。我发现接收器上有很多MAC地址。

这是我的接收器代码,

   @Override
    public void onScanResult(int callbackType, ScanResult result) {
        super.onScanResult(callbackType, result);

        BluetoothDevice testDevice = result.getDevice();
        String address = testDevice.getAddress();
        outlbl.setText(address);
    }  

所以我用自定义应用程序测试了周围环境,发现了这个,

here is the screenshot

对于相同的数据,来自同一设备的MAC地址很多。这怎么可能?

android bluetooth-lowenergy mac-address
1个回答
0
投票

我相信这些设备会随机化他们的mac地址。这些可以进一步解决它

Randomize Mac Address Bluetooth LE Broadcast

Does MAC ID broadcasted in Eddystone Beacon change?

© www.soinside.com 2019 - 2024. All rights reserved.