Open erdem-kose opened 3 years ago
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.
你的问题解决了吗? 如果没有,你可以尝试注释掉 /dbus/gattlib_notification.c 函数 tatic gboolean on_handle_characteristic_property_change 里的gfree(key)。
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.