Commit: cdfdc6b2b6182ef09c28d49873f79c581ab04de5
Parent: fde23152d3773eb9b61879c7a2d2a60b64c5c73f
Author: Claudio Takahasi <claudio.takahasi@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-04-22 14:33:51
Tree: fdec5746fb64ac3162cbf2df8ecb9df46cb9cdf2

gatt: Fix not replying for write requests Attributes should not be unregistered dynamically unless the service implementation calls UnregisterService() or leave the system bus. Implementations may accidentally (or maliciously) unregister a GATT object (characteristic or descriptor) belonging to a service hierarchy. gdbus automatically tracks InterfacesRemoved() signal, and destroys the GDBusProxy associated with the removed interfaces. Subsequent calls of g_dbus_proxy_set_property_array() returns FALSE, and it needs to be handled properly since the GDBusProxy result callback will not be called.

Diffstat

M src/gatt-dbus.c | 10 +++++++- - -

1 files changed, 7 insertions(+), 3 deletions(-)

View Full Diff | Patch