From ac3e956526c8d1e8107ed13ecee416b43dce2369 Mon Sep 17 00:00:00 2001 From: Ulisses Costa Date: Tue, 7 Dec 2021 00:40:01 +0100 Subject: [PATCH] client/gatt: Fix property_change in WriteValue for desc g_dbus_emit_property_changed was not working properly in the WriteValue for the descriptor because the Characteristic interface was being used. Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- client/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gatt.c b/client/gatt.c index b952d9a..8141a7e 100755 --- a/client/gatt.c +++ b/client/gatt.c @@ -2748,7 +2748,7 @@ static DBusMessage *desc_write_value(DBusConnection *conn, DBusMessage *msg, bt_shell_printf("[" COLORED_CHG "] Attribute %s (%s) written", desc->path, bt_uuidstr_to_str(desc->uuid)); - g_dbus_emit_property_changed(conn, desc->path, CHRC_INTERFACE, "Value"); + g_dbus_emit_property_changed(conn, desc->path, DESC_INTERFACE, "Value"); return g_dbus_create_reply(msg, DBUS_TYPE_INVALID); } -- 2.7.4