bluetooth - hcitool 无需配对即可显示iOS13的公网Mac地址

标签 bluetooth bluetooth-lowenergy bluez hci

iOS 13 遵循“LE 隐私”规则,它发送具有随机 MAC 地址的 BLE 信标数据包,该地址会定期更改。但是“hcitool scan”命令显示了 iOS 的蓝牙公共(public) MAC 地址。我猜它违反了“LE 隐私”规则。

我检查了 BLE 嗅探器日志,iOS 只是用随机 MAC 地址和制造数据做广告。 iOS 不发送公共(public) MAC 地址。我找不到任何具有公共(public) MAC 地址的数据包。 你知道hcitool如何获取iOS的公网MAC地址吗?

扫描面: Linux 树莓派 4.19.93-v7l+, Bluez 5.37

信标端: iPhone8、iOS13.3、设置应用、蓝牙设置界面。

这些设备以前没有配对过。

最佳答案

“hcitool 扫描”使用经典蓝牙 (BR/EDR)。 “hcitool lescan”使用低功耗蓝牙 (BLE)。

在经典蓝牙上,不应用“LE 隐私”规则。交换公共(public) MAC 地址。

关于bluetooth - hcitool 无需配对即可显示iOS13的公网Mac地址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59850688/

相关文章:

python - BlueZ 示例 GATT 服务器

重新连接时 iPhone 无法发现蓝牙 LE 标签上的服务

android - 如何通过蓝牙与 zebra mz320 打印机配对?

ios - 当应用程序在后台且在 ios 系统中首先连接时,如何知道何时检索连接的 ble 设备?

bluetooth - 最大数量使用 BlueZ 的 BLE 连接

linux - 如何开始使用 Ubuntu 蓝牙

ios - startMonitoringForRegion 与 startMonitoringSignificantLocationChanges

android - Android 上 AVRCP 的最佳实践(将元数据发送到蓝牙设备)

经典和 BTLE 设备的 Android 蓝牙扫描

bluetooth-lowenergy - 您知道如何在移动设备上编写 BLE5 功能代码吗?