Commit: 9f30381f3120ce7ea1dc65d7ba473d1e76619499
Parent: fb449723cb766d759291b2ecf34fbb44a155eb10
Author: Claudio Takahasi <claudio.takahasi@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-03-24 15:37:05
Tree: 165e6f0e94ab0e0c59d308a0d10868c1a3e0acde

gatt: Assign write callback for external services This patch adds the callback for writing the external characteristic value. Internally, GDBusProxy implementation calls Set method of the "Value" property. At the moment, potential errors returned by the external service implementation are being ignored. The ATT operation (Write Command or Request) is not exposed to the external service implementation. GATT/GDBusProxy handles possible DBus errors returned, and notify the core using the callbacks informed. Write Command doesn't have callback since it doesn't return ATT errors.

Diffstat

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

1 files changed, 26 insertions(+), 1 deletions(-)

View Full Diff | Patch