Re: Notification could be enabled
Re: Notification could be enabled
- Subject: Re: Notification could be enabled
- From: Don Clark <email@hidden>
- Date: Sat, 13 Jul 2013 09:24:06 -0400
- Acceptlanguage: en-US
- Thread-topic: 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, "email@hidden"
<email@hidden> wrote:
>From: Qinghui Tang <email@hidden>
>To: "email@hidden" <email@hidden>
>Subject: Notification could be enabled
>Message-ID: <email@hidden>
>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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden