Re: Bluetooth-dev Digest, Vol 10, Issue 183
Re: Bluetooth-dev Digest, Vol 10, Issue 183
- Subject: Re: Bluetooth-dev Digest, Vol 10, Issue 183
- From: Don Clark <email@hidden>
- Date: Tue, 09 Jul 2013 21:59:00 -0400
- Acceptlanguage: en-US
- Thread-topic: Bluetooth-dev Digest, Vol 10, Issue 183
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 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.}
On 6/29/13 3:00 PM, "email@hidden"
<email@hidden> wrote:
>Date: Fri, 28 Jun 2013 16:40:27 -0500
>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?
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://cp.mcafee.com/d/1jWVIq4wUSyOejvpjvv76XCQXLK6zB5dxZYSDtZMQsEFLFFCQX
>LK6zB5dxZMSDtYsCqenD7PhOrgH0lIvIiEaH2DPnmVsTm5fCKJOVIQsFKFKShvW_8zDTHZuVtd
>BW_9K9FzKmKzp55l6X_axVZicHs3jqpJMTsTsSjDdqymovaAWtGON_YLwCHIcmz8PI_MwuTYWR
>CjbEupPpPSNdnUjFytQmrK9LoN_KFzAnISsZIjl-4-1NE-dA3S_DmIOpt3P9sxlK5LE052I1mN
>-NaDlxjVHHsK2zVkDjJmmf_BPrPbxEVdz9XvPHmpcKxVAQg1QyfQC0pEw3djPh0zs0Ph06QETV
>EwhupdTdJ-8spN5t
>
>------------------------------
>
_______________________________________________
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