And*_*ndy 8 notifications ios core-bluetooth
我正在尝试编写一个使用CoreBluetooth框架的应用程序.我能够搜索设备并连接/断开连接,并将值写入设备中的特征.当我尝试启用通知时:
[peripheral setNotifyValue:flag forCharacteristic:characteristic];
这个触发器 - (void)外设:(CBPeripheral*)外设didUpdateNotificationStateForCharacteristic:(CBCharacteristic*)特征错误:(NSError*)错误
但它始终返回错误错误域= CBErrorDomain代码= 0"操作无法完成.(CBErrorDomain错误0)"
我在网上看到了这可能意味着什么.我已经清理它,再次构建它..重新启动我的iphone ..重新启动xcode但我一直遇到这个错误.任何人都可以帮助我理解这意味着什么以及如何解决它?
非常感谢!安迪
| 归档时间: |
|
| 查看次数: |
3593 次 |
| 最近记录: |