summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorVinicius Gomes <vinicius.gomes@openbossa.org>2008-03-05 22:09:41 +0000
committerVinicius Gomes <vinicius.gomes@openbossa.org>2008-03-05 22:09:41 +0000
commitf65e1c7a1f1365cea6e3c0195532f330a09972cb (patch)
treeb7e24d5b6800a4daea3c5ec36d937fb97ac29276 /hcid
parentf1f605d53e9fdd46c059bf0d08218cbd5c3f0248 (diff)
Introduces new Adapter signals.
Diffstat (limited to 'hcid')
-rw-r--r--hcid/adapter.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index d5ed735d..6d9b08fd 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -3466,12 +3466,19 @@ static DBusMethodVTable adapter_methods[] = {
};
static DBusSignalVTable adapter_signals[] = {
+ /* BlueZ 4.0 */
+ { "DiscoveryStarted", "" },
+ { "DiscoveryCompleted", "" },
+ { "DeviceCreated", "o" },
+ { "DeviceRemoved", "o" },
+ { "DeviceFound", "s" },
+ { "PropertyChanged", "sv" },
+ { "DeviceDisappeared", "s" },
+ /* Deprecated */
{ "ModeChanged", "s" },
{ "DiscoverableTimeoutChanged", "u" },
{ "MinorClassChanged", "s" },
{ "NameChanged", "s" },
- { "DiscoveryStarted", "" },
- { "DiscoveryCompleted", "" },
{ "PeriodicDiscoveryStarted", "" },
{ "PeriodicDiscoveryStopped", "" },
{ "RemoteDeviceFound", "sun" },