OSDN Git Service

tools: Emit property changed when Value changes
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Mon, 24 Mar 2014 13:30:09 +0000 (10:30 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Mar 2014 13:40:20 +0000 (15:40 +0200)
commita3c32f0f6130fa97f1c209280765e824df2a5e28
tree2cdcbfaa48982081bff9daa61aa584af145fee97
parent4987c5bc20cf1ef1e77c015f6b607f04f40ee5ae
tools: Emit property changed when Value changes

This patch extends gatt-service tool, emitting PropertiesChanged for
"Value" when a new value is set. This flow represents the handling of
ATT Write Command or Write Request which is translated to a GDBusProxy
set property. PropertiesChanged will be tracked by the characteristic
GDBusProxy in order to detect "Value" changes.
tools/gatt-service.c