summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-10-18 17:31:32 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-10-18 17:31:32 +0000
commita6d4f9cdc6a4d189120dbffeba96a79f72a77c91 (patch)
tree6f4d4d2d7afb688be2cfefd25069c03262db0201 /hcid/dbus.h
parentd4e297cbb9e30d7f6048becfbfcc0937ffd7b0ef (diff)
Add signals for added and removed devices
Diffstat (limited to 'hcid/dbus.h')
-rw-r--r--hcid/dbus.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/hcid/dbus.h b/hcid/dbus.h
index c11f1a95..faa19ea4 100644
--- a/hcid/dbus.h
+++ b/hcid/dbus.h
@@ -111,12 +111,16 @@
#define BLUEZ_HCI_PATH MANAGER_PATH "/" BLUEZ_HCI
#define BLUEZ_HCI_INTERFACE MANAGER_INTERFACE "." BLUEZ_HCI
-//HCI signals
+//Device based HCI signals
#define BLUEZ_HCI_INQ_START "InquiryStart"
#define BLUEZ_HCI_INQ_COMPLETE "InquiryComplete"
#define BLUEZ_HCI_INQ_RESULT "InquiryResult"
#define BLUEZ_HCI_REMOTE_NAME "RemoteName"
+//HCI signals sent in the BLUEZ_HCI_PATH
+#define BLUEZ_HCI_DEV_ADDED "DeviceAdded"
+#define BLUEZ_HCI_DEV_REMOVED "DeviceRemoved"
+
//HCI Provided services
#define HCI_PERIODIC_INQ "PeriodicInquiry"
#define HCI_CANCEL_PERIODIC_INQ "CancelPeriodic"
@@ -168,6 +172,7 @@
DBUS_STRUCT_END_CHAR_AS_STRING\
__END_SIG__
+
/* BLUEZ_DBUS_ERROR
* EFailed error messages signature is : su
* Where the first argument is a string(error message description),