Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indications translated as notifications problem. #225

Open
erdem-kose opened this issue Jun 25, 2021 · 1 comment
Open

Indications translated as notifications problem. #225

erdem-kose opened this issue Jun 25, 2021 · 1 comment

Comments

@erdem-kose
Copy link

erdem-kose commented Jun 25, 2021

If my device sends notifications, gattlib cannot catch
but if my device sends indications, gattlib catches them as notifications
It's completely weird.

but probably you sent CCCD 0200 instead 0100 for indication, 0100 instead 0200 for notification.

@lm339-gj
Copy link

lm339-gj commented Jul 27, 2021

你的问题解决了吗?
如果没有,你可以尝试注释掉 /dbus/gattlib_notification.c 函数 tatic gboolean on_handle_characteristic_property_change 里的gfree(key)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants