[英]Does the bluetooth address of Android device changes after some time?
I am asking this question because I want to create an application which stores the data of the user according to the Bluetooth address of their phones.我问这个问题是因为我想创建一个应用程序,根据手机的蓝牙地址存储用户的数据。 We can share his profile according to that Bluetooth address using Bluetooth.
我们可以使用蓝牙根据那个蓝牙地址分享他的个人资料。 Some people are saying that Bluetooth address is change after sometime.
有人说蓝牙地址会在一段时间后改变。 Is it true?
这是真的吗?
The Bluetooth Classic address stays the same.经典蓝牙地址保持不变。 The LE address is random and stays the same while connected, but otherwise an Android device changes its LE address regularly.
LE 地址是随机的,并且在连接时保持不变,但除此之外,Android 设备会定期更改其 LE 地址。 The address could be the same for a few connections, but will then change.
几个连接的地址可能相同,但随后会发生变化。 This "feature" cannot be disabled.
不能禁用此“功能”。 Also, an Android app is not allowed to know its own LE address.
此外,不允许 Android 应用程序知道自己的 LE 地址。 So use a Classic connection.
所以使用经典连接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.