Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS 10:CoreBluetooth CBCentralManager状态不受支持/未经授权_Ios_Iphone_Ipad_Ios10_Core Bluetooth - Fatal编程技术网

iOS 10:CoreBluetooth CBCentralManager状态不受支持/未经授权

iOS 10:CoreBluetooth CBCentralManager状态不受支持/未经授权,ios,iphone,ipad,ios10,core-bluetooth,Ios,Iphone,Ipad,Ios10,Core Bluetooth,我们正在开发一个BLE框架,该框架基于将外围设备与iOS设备连接的框架。我对运行iOS 10的设备(具体来说是iPhone 6和iPad Mini第二代)的状态有问题 我多次从iOS设置切换BLE,并将应用程序保持在BLE关闭状态5-6小时。然后,我从iOS设置打开了BLE,并在CentralManagerDipDateState(central:CBCentralManager)中收到了不受支持或未经授权的CBManagerState 但是,当我刚刚打开BLE时,预期状态为CBManagerS

我们正在开发一个BLE框架,该框架基于将外围设备与iOS设备连接的框架。我对运行iOS 10的设备(具体来说是iPhone 6和iPad Mini第二代)的状态有问题

我多次从iOS设置切换BLE,并将应用程序保持在BLE关闭状态5-6小时。然后,我从iOS设置打开了BLE,并在
CentralManagerDipDateState(central:CBCentralManager)
中收到了不受支持或未经授权的
CBManagerState

但是,当我刚刚打开BLE时,预期状态为
CBManagerState PoweredOn
。我不得不关闭应用程序并重新启动它。只有我在州里有电。有人能帮我了解一下CoreBluetooth stack到底是怎么回事吗


任何帮助都将不胜感激。谢谢

当您打开BLE时,它是否开始搜索其他设备,或其状态保持不变unsupported@FahadJamal当我打开BLE时,我将收到CentralManagerDipDateState(central:CBCentralManager)委托回调,在该回调中我将收到不受支持/未授权的状态。