简体   繁体   English

CBCentralManager:如何确定管理器正在扫描哪个外围设备

[英]CBCentralManager: how to determine which peripheral is the manager scanning for

我想知道如何确定CBCentralManager扫描哪些外围设备而不使用其他变量 ,换句话说,仅从CBCentralManager对象进行扫描。

Looks like the only useful API from CBCentralManager, retrievePeripherals: was totally removed as of iOS 9. My guess Apple did this because of some fuzzy security concern (eg malicious software scanning for Bluetooth devices to exploit?). 似乎CBCentralManager中唯一有用的API, retrievePeripherals:在iOS 9上已被完全删除。我之所以认为苹果这样做是因为存在一些模糊的安全问题(例如,恶意软件扫描蓝牙设备以进行利用吗?)。

The replacement within CBCentralManager, retrievePeripheralsWithIdentifiers: requires a list of device identifiers already known to the app. 在CBCentralManager中进行替换, retrievePeripheralsWithIdentifiers:需要该应用程序已知的设备标识符列表。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何通过CBCentralManager创建到BLE外设的安全连接? - How can I create a secured connection to BLE peripheral through CBCentralManager? BLE Beacon vs Peripheral - 移动应用程序后台扫描哪个更好? - BLE Beacon vs Peripheral - Which is better for mobile app background scanning? 外围设备管理员如何理解哪个CBCentral(设备)试图访问服务/特性 - How can peripheral manager understands which is the CBCentral(device) trying to access the service/characterstics CBCentralManager,didConnect 外围设备:永远不会被调用 - CBCentralManager, didConnect peripheral: never getting called 在iOS中如何在不使用硬件地址进行扫描的情况下连接到外围设备 - In iOS how to connect to Peripheral without scanning using the harware address CoreBluetooth:外围经理如何知道中央收到指示? - CoreBluetooth: How can the peripheral manager know that the central received an indication? 如何更改使用核心蓝牙ios扫描外围设备时发现的特征ID的顺序 - How to change order of charateristics ID discovered while scanning peripheral using core bleutooth ios 如何在CBPeripheralManager处于活动状态时提高CBCentralManager的性能 - How to improve performance of CBCentralManager while CBPeripheralManager is active iPhone corebluetooth中央管理器向外设发送数据 - iPhone corebluetooth central Manager send data to peripheral CoreBluetooth Central Manager无法在后台发现外围设备 - CoreBluetooth Central Manager cannot discover peripheral in background
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM