简体   繁体   English

Android设备的蓝牙地址是否会在一段时间后改变?

[英]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.

相关问题 在Android中,MAC地址是否随时间而变化 - Does MAC address changes over time in Android 为什么一段时间后Android Wear蓝牙会断开连接-btm_sec_disconnected? - Why does Android Wear bluetooth disconnect after some time - btm_sec_disconnected? Android在特定时间后刷新蓝牙设备列表 - Android refresh Bluetooth device list after specific time Android设备的蓝牙或wifi的MAC地址 - MAC address of bluetooth or wifi of an android device 将设备地址发送到android -bluetooth中的ConnectThread(BluetoothDevice设备) - Sending device address to ConnectThread(BluetoothDevice device) in android -bluetooth Android 设备在一段时间后停止回复 ping - Android device stops replying to ping after some time Android蓝牙设备只扫描一次 - Android Bluetooth device scanned only one time Android蓝牙API是否会发现所有版本的蓝牙设备? - Does Android Bluetooth API will discover all the version of Bluetooth device? 如何从Android应用程序检测蓝牙设备并获取检测到的设备的蓝牙地址 - How to detect bluetooth device and get the bluetooth address of detected device from android app Android蓝牙-是否可以通过使用给定的MAC地址,序列号和设备的PIN来构建蓝牙设备? - Android Bluetooth-Is it possible to construct the Bluetooth Device by using the given MAC Address,Serial Number and Device's PIN?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM