From 433f7cce3bc68a05bc7a977aa8e130065872ef3d 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. --- client/gatt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gatt.c b/client/gatt.c index 9c991c2ac..11f70dc4f 100644 --- a/client/gatt.c +++ b/client/gatt.c @@ -2749,7 +2749,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.47.3