summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-11-04 15:42:24 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-11-04 15:42:24 +0000
commit9410c612d365b3aabf13da966e6782225068954f (patch)
tree608a628447e6370f693b4e7be43a1f656c6b119f /hcid/dbus.h
parent473446233d1a259f526777782aada53b993d73cc (diff)
Add initial support of setproperty and getproperty
Diffstat (limited to 'hcid/dbus.h')
-rw-r--r--hcid/dbus.h40
1 files changed, 37 insertions, 3 deletions
diff --git a/hcid/dbus.h b/hcid/dbus.h
index 0e863846..bf344bf7 100644
--- a/hcid/dbus.h
+++ b/hcid/dbus.h
@@ -120,15 +120,49 @@
/* Control interface methods */
#define DEV_UP "Up"
#define DEV_DOWN "Down"
-#define DEV_RESET "Reset"
#define DEV_SET_PROPERTY "SetProperty"
#define DEV_GET_PROPERTY "GetProperty"
+#define DEV_PROPERTY_AUTH "auth"
+#define DEV_PROPERTY_ENCRYPT "encrypt"
+#define DEV_PROPERTY_SECMGR "secmgr"
+#define DEV_PROPERTY_PISCAN "piscan"
+#define DEV_PROPERTY_PSCAN "pscan"
+#define DEV_PROPERTY_ISCAN "iscan"
+#define DEV_PROPERTY_PTYPE "ptype"
+#define DEV_PROPERTY_LM "lm"
+#define DEV_PROPERTY_LP "lp"
+#define DEV_PROPERTY_NAME "name"
+#define DEV_PROPERTY_CLASS "class"
+#define DEV_PROPERTY_VOICE "voice"
+#define DEV_PROPERTY_IAC "iac"
+#define DEV_PROPERTY_INCMODE "incmode"
+#define DEV_PROPERTY_INCTYPE "inctype"
+#define DEV_PROPERTY_INCPARMS "incparms"
+#define DEV_PROPERTY_PAGEPARMS "pageparms"
+#define DEV_PROPERTY_PAGETO "pageto"
+#define DEV_PROPERTY_AFHMODE "afhmode"
+#define DEV_PROPERTY_ACLMTU "aclmtu"
+#define DEV_PROPERTY_SCOMTU "scomtu"
+#define DEV_PROPERTY_PUTKEY "putkey"
+#define DEV_PROPERTY_DELKEY "delkey"
+#define DEV_PROPERTY_DEV_INFO "info"
+
#define DEV_UP_SIGNATURE __END_SIG__
#define DEV_DOWN_SIGNATURE __END_SIG__
#define DEV_RESET_SIGNATURE __END_SIG__
-#define DEV_SET_PROPERTY_SIGNATURE __END_SIG__
-#define DEV_GET_PROPERTY_SIGNATURE __END_SIG__
+#define DEV_SET_PROPERTY_SIGNATURE_1 DBUS_TYPE_STRING_AS_STRING \
+ DBUS_TYPE_BOOLEAN_AS_STRING \
+ __END_SIG__
+#define DEV_SET_PROPERTY_SIGNATURE_2 DBUS_TYPE_STRING_AS_STRING \
+ DBUS_TYPE_STRING_AS_STRING \
+ __END_SIG__
+#define DEV_SET_PROPERTY_SIGNATURE_3 DBUS_TYPE_STRING_AS_STRING \
+ DBUS_TYPE_UINT16_AS_STRING \
+ __END_SIG__
+
+#define DEV_GET_PROPERTY_SIGNATURE DBUS_TYPE_STRING_AS_STRING \
+ __END_SIG__
#define HCI_PERIODIC_INQ_SIGNATURE DBUS_TYPE_BYTE_AS_STRING \