Re: Notification could be enabled
I'm having a similar problem with iOS 7 (including DP3), except that for me I have a characteristic that has the properties set for Write & Read & Notify, and I can complete the setNotifyValue and the callback, but when I attempt to write to the characteristic I get the error message that you reported. Same code works fine, with the same BLE device, on iOS 6. Here's my error message: 2013-07-09 21:34:22.441 HOBOmobile[229:60b] <MXBLEDevice.m:(1552)> didWriteValueForCharacteristic: error report = Error Domain=CBErrorDomain Code=0 "Unknown error." UserInfo=0x16550980 {NSLocalizedDescription=Unknown error.} So what's the problem? On 6/29/13 3:00 PM, "bluetooth-dev-request@lists.apple.com" <bluetooth-dev-request@lists.apple.com> wrote:
From: Qinghui Tang <tangqinghui@hotmail.com> To: "bluetooth-dev@lists.apple.com" <bluetooth-dev@lists.apple.com> Subject: Notification could be enabled Message-ID: <BLU162-W6D4B972CB33A57EF3565DB6760@phx.gbl> Content-Type: text/plain; charset="iso-8859-1"
One of characteristics has the property Write & Read & Notify & Indicate.When I called setNotifyValue:forCharacteristic, the delegate functiondidUpdateNotificationStateForCharacteristic was invoked with error: Error Domain=CBErrorDomain Code=0 "Unknown error." UserInfo=0x1cdb6760 {NSLocalizedDescription=Unknown error.} Therefore, although my peripheral did send notification (observed with TI smart sniffer),but iOS function didUpdateValueForCharacteristic was never called. Anyone got an idea what may cause the failure of enabling notification?
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Don Clark