【发布时间】:2013-01-23 14:33:11
【问题描述】:
我正在 iOS6 中开发一个 BLE 应用程序。在设置为通知状态后,当我在某个特性上调用 readValueForCharacteristic 时,我得到了 CoreBluetooth[WARNING] Unknown error: 2。
- (void)peripheral:(CBPeripheral *)peripheral didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic error:(NSError *)error`
The delegate callback gets called with an unknown error from NSLog: `Error updating value for characteristic Unknown (<fef2>) error: Error Domain=CBErrorDomain Code=0 "Unknown error." UserInfo=0x1dd3b7e0 {NSLocalizedDescription=Unknown error.}
请给点建议。
【问题讨论】:
标签: ios core-bluetooth