Commit: 127f4029df77315caf667253a8b5e23d5e50f080
Parent: 1122bddd602c4d3f03854d2bf02942ee59ad0085
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-02-02 13:27:48
Tree: 638d8849ac24b1bb231d4b2cb383d51c20c46da5

core/gatt: Implement GattCharacteristic1.StartNotify This patch implements the StartNotify method of org.bluez.GattCharacteristic1. Each call to StartNotify assigns a session to the D-Bus sender which internally registers a unique notify handler with the bt_gatt_client. Each received notification or indication causes a PropertiesChanged signal to be emitted for the "Value" property. The notify handler gets automatically unregistered when sender disconnects from D-Bus.

Diffstat

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

1 files changed, 247 insertions(+), 10 deletions(-)

View Full Diff | Patch