Commit: 344df6b958f7a3ce1faf8f5fde8ad6a2f5fd5ce6
Parent: a3ff1a8e43688311037eb1c46981f3a7aecfa24e
Author: Jakub Pawlowski <jpawlowski@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-09-19 14:28:12
Tree: bfa2a19d2da0b1859da743bc021d6a19ea13a6a2

core/gatt-client: fix losing notifications When notifications are quickly send to BlueZ, it tries to signal that through dbus using g_dbus_emit_property_changed, which would merge all changes and schedule sending property changed in g_iddle_add. If the stream of notifications from device is fast enough, there might be no iddle moment to send properties changed before next notification arives, which would result in notifications being lost. This patch fixes that by using method that sends properties changed immediately, without waiting for iddle moment.

Diffstat

M src/gatt-client.c | 6 ++++- -

1 files changed, 4 insertions(+), 2 deletions(-)

View Full Diff | Patch