我的问题是CBPeripheral的UUID似乎不是唯一的。
my question is the UUID of CBPeripheral seems not to be unique.
我有两个iPad2和一个bluetooth4.0设备。
I have two iPad2, and a bluetooth4.0 device.
蓝牙设备的UUID与两台iPad不同。
The UUID of the bluetooth device differs from the two iPad.
如下图所示。
As shown in following images.
有没有办法在iOS设备上找到蓝牙设备的唯一UUID?
Is there any way to find a unique UUID of bluetooth device on iOS device?
我需要找到一个在不同设备之间不会改变的UUID或mac地址。
I need to find a UUID or mac address that would not change between different devices.
非常感谢,请帮帮我!!
Thank you very much, please help me!!
推荐答案周边使用随机可解析的地址,该地址至少每15分钟更改一次,此时外围设备将显示为新的。要更改此行为,您需要与外围设备配对,然后您将看到UUID并且它将是持久的。
The peripheral uses a random resolvable address that changes at least every 15 minutes, at which point the peripheral will appear to be new. To change this behavior you need to pair with the peripheral, then you will see the UUID and it will be persistent.
更多推荐
Corebluetooth,如何获得独特的UUID?
发布评论