关于这个问题,
连接到外围设备后,我可以检索它CFUUIDRef,它是唯一的,可以用它来重新连接retrievePeripherals.但是,我发现在关闭应用程序后我无法使用它重新连接.
CFUUIDRef
retrievePeripherals
UUID连接后生成的唯一值是否仅在应用程序的生命周期内有效,或者我们是否应该将其保存以供以后使用?我试图让我的应用程序记住一个特定的外围设备,但此外peripheral.UUID,我不知道任何其他唯一标识符.
UUID
peripheral.UUID
ios ios5 core-bluetooth bluetooth-lowenergy
bluetooth-lowenergy ×1
core-bluetooth ×1
ios ×1
ios5 ×1