Diff between a3ff1a8e43688311037eb1c46981f3a7aecfa24e and 344df6b958f7a3ce1faf8f5fde8ad6a2f5fd5ce6
Changed Files
| File | Additions | Deletions | Status |
| src/gatt-client.c | +4 | -2 | modified |
Full Patch
diff --git a/src/gatt-client.c b/src/gatt-client.c
index 6c10a82..86aef79 100644
--- a/src/gatt-client.c
+++ b/src/gatt-client.c
@@ -778,8 +778,10 @@ static void write_characteristic_cb(struct gatt_db_attribute *attr, int err,
if (err)
return;
- g_dbus_emit_property_changed(btd_get_dbus_connection(), chrc->path,
- GATT_CHARACTERISTIC_IFACE, "Value");
+ g_dbus_emit_property_changed_full(btd_get_dbus_connection(),
+ chrc->path, GATT_CHARACTERISTIC_IFACE,
+ "Value", G_DBUS_PROPERTY_CHANGED_FLAG_FLUSH);
+
}
static void chrc_read_cb(bool success, uint8_t att_ecode, const uint8_t *value,