Android的蓝牙LE MAC地址随机化 [英] Android Bluetooth LE MAC Address Randomization

查看:1982
本文介绍了Android的蓝牙LE MAC地址随机化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

蓝牙LE引入随机广告设备的蓝牙设备地址的能力。玩弄Android中API21的BluetoothLeAdvertiser类,我缺少启用此功能的方法。我的测试设备的设备地址总是一样的(没有任何随机)。

Bluetooth LE introduced the capability to randomize the Bluetooth device address of an advertising device. Playing around with the BluetoothLeAdvertiser class in Android API21, I am missing the method to enable this feature. The device address of my test device is always the same (no randomization whatsoever).

这怎么可能使用蓝牙LE设备地址随机化的Andr​​oid?

How is it possible to use Bluetooth LE device address randomization in Android?

谢谢,
马丁

推荐答案

您还别说该博客说:

在一般情况下,这些随机的,专用MAC地址变化,按照该制造商在他们的产品的固件实现的计时器。因此,他们知道MAC地址究竟是如何经常​​变化。

In general, those random, private MAC addresses change according to a timer that the manufacturer implements in their product’s firmware. As such, they know exactly how often the MAC address will change.

因此​​,这似乎是一个内置的功能,似乎超越了应用程序员的控制。当然,这是为了保护应用程序用户的隐私。我已经注意到了随机重启只有我的智能手机后,我quess它可能会从设备而异。

So this seems to be a build-in feature and seems beyond control of the application programmer. Of course, this is meant to protect the privacy of the application user. I have noticed the randomization only after rebooting my smartphone, i quess it might vary from device to device.

这篇关于Android的蓝牙LE MAC地址随机化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆