jordanebelanger / SwiftyBluetooth

Closures based APIs for CoreBluetooth
MIT License
209 stars 66 forks source link

I can't able to set notification. #36

Closed ashokKOMARA closed 5 years ago

ashokKOMARA commented 5 years ago

failure Error Domain=CBATTErrorDomain Code=10 "The attribute could not be found." UserInfo={NSLocalizedDescription=The attribute could not be found.}

This is the error that aim getting while adding notification to peripheral characteristic. Can u please suggest me solution.

jordanebelanger commented 5 years ago

Can I see the code you are using for your call?

ashokKOMARA commented 5 years ago
screen shot 2018-10-12 at 6 38 06 pm
ashokKOMARA commented 5 years ago

Some how I am not able to find Descriptors for the particular Characteristic, but those were there in in my peripheral. Even I tried with predefined method, but no use. it is returning empty.

screen shot 2018-10-12 at 6 51 09 pm
ashokKOMARA commented 5 years ago

Hi, Please find bellow image. Some how I am not able to find Descriptors for the particular Characteristic, but those were there in in my peripheral. Even I tried with predefined method, but no use. it is returning empty.

[cid:EF29B244-B83E-4ADA-ABE7-BE0E016D3D2D]

[cid:223EFAA7-1902-4048-AC28-D5698EB8236C] Regards, Ashok Komara | iOS Developer, Ph.nohttp://Ph.no :- +918688114115, Email :- ashok@huginnovations.commailto:ashok@huginnovations.com.


This e-mail is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email are strictly prohibited. Do Not Print this email unless required. SAVE PAPERS. SAVE TREES. GO GREEN.


On 12-Oct-2018, at 6:27 PM, Jordane Belanger notifications@github.com<mailto:notifications@github.com> wrote:

Can I see the code you are using for your call?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jordanebelanger/SwiftyBluetooth/issues/36#issuecomment-429316393, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AoNt3X6AQoo8rv86tuROyGGpx0IDZ9G3ks5ukJHNgaJpZM4XY8-I.

ashokKOMARA commented 5 years ago

it is manufacture defect. i can able to get notification update even setnotify return failure response.