diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-02-24 17:42:51 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-02-24 17:42:51 +0000 |
commit | fc2954dca85c9835eee190a24fc4dcce43a29c3b (patch) | |
tree | e1b88b7eff54737bfe819cf1c2ef6dcec37edcb4 /hcid/dbus.h | |
parent | bb537bf4f89ddfed96beeed8314ef944970334a0 (diff) |
Reorder functions and update to the latest specification
Diffstat (limited to 'hcid/dbus.h')
-rw-r--r-- | hcid/dbus.h | 155 |
1 files changed, 80 insertions, 75 deletions
diff --git a/hcid/dbus.h b/hcid/dbus.h index acbd6c62..b6ad32b3 100644 --- a/hcid/dbus.h +++ b/hcid/dbus.h @@ -109,97 +109,102 @@ int get_default_dev_id(void); BlueZ D-Bus Device path definitions "/org/bluez/Device" *========================================================================*/ #define DEV_GET_ADDRESS "GetAddress" +#define DEV_GET_VERSION "GetVersion" +#define DEV_GET_REVISION "GetRevision" +#define DEV_GET_MANUFACTURER "GetManufacturer" #define DEV_GET_COMPANY "GetCompany" -#define DEV_GET_DISCOVERABLE_TO "GetDiscoverableTimeout" #define DEV_GET_FEATURES "GetFeatures" -#define DEV_GET_MAJOR_CLASS "GetMajorClass" -#define DEV_GET_MANUFACTURER "GetManufacturer" -#define DEV_GET_MINOR_CLASS "GetMinorClass" #define DEV_GET_MODE "GetMode" -#define DEV_GET_NAME "GetName" -#define DEV_GET_REVISION "GetRevision" -#define DEV_GET_SERVICE_CLASSES "GetServiceClasses" -#define DEV_GET_VERSION "GetVersion" +#define DEV_SET_MODE "SetMode" +#define DEV_GET_DISCOVERABLE_TO "GetDiscoverableTimeout" +#define DEV_SET_DISCOVERABLE_TO "SetDiscoverableTimeout" #define DEV_IS_CONNECTABLE "IsConnectable" #define DEV_IS_DISCOVERABLE "IsDiscoverable" -#define DEV_SET_DISCOVERABLE_TO "SetDiscoverableTimeout" +#define DEV_GET_MAJOR_CLASS "GetMajorClass" +#define DEV_GET_MINOR_CLASS "GetMinorClass" #define DEV_SET_MINOR_CLASS "SetMinorClass" -#define DEV_SET_MODE "SetMode" +#define DEV_GET_SERVICE_CLASSES "GetServiceClasses" +#define DEV_GET_NAME "GetName" #define DEV_SET_NAME "SetName" -#define DEV_DISCOVER "Discover" -#define DEV_DISCOVER_CACHE "DiscoverCache" -#define DEV_DISCOVER_CANCEL "DiscoverCancel" -#define DEV_DISCOVER_SERVICE "DiscoverService" +#define DEV_GET_REMOTE_VERSION "GetRemoteVersion" +#define DEV_GET_REMOTE_REVISION "GetRemoteRevision" +#define DEV_GET_REMOTE_MANUFACTURER "GetRemoteManufacturer" +#define DEV_GET_REMOTE_COMPANY "GetRemoteCompany" +#define DEV_GET_REMOTE_NAME "GetRemoteName" +#define DEV_GET_REMOTE_ALIAS "GetRemoteAlias" +#define DEV_SET_REMOTE_ALIAS "SetRemoteAlias" #define DEV_LAST_SEEN "LastSeen" #define DEV_LAST_USED "LastUsed" -#define DEV_SET_REMOTE_ALIAS "SetRemoteAlias" -#define DEV_GET_REMOTE_ALIAS "GetRemoteAlias" -#define DEV_GET_REMOTE_NAME "GetRemoteName" -#define DEV_GET_REMOTE_VERSION "GetRemoteVersion" #define DEV_CREATE_BONDING "CreateBonding" -#define DEV_LIST_BONDINGS "ListBondings" -#define DEV_HAS_BONDING_NAME "HasBonding" #define DEV_REMOVE_BONDING "RemoveBonding" +#define DEV_HAS_BONDING_NAME "HasBonding" +#define DEV_LIST_BONDINGS "ListBondings" #define DEV_PIN_CODE_LENGTH "PinCodeLength" #define DEV_ENCRYPTION_KEY_SIZE "EncryptionKeySize" +#define DEV_DISCOVER "Discover" +#define DEV_DISCOVER_CACHE "DiscoverCache" +#define DEV_DISCOVER_CANCEL "DiscoverCancel" +#define DEV_DISCOVER_SERVICE "DiscoverService" /*FIXME: maybe this section can be moved to a internal header file */ /* Device service signature */ -#define DEV_GET_ADDRESS_SIGNATURE __END_SIG__ -#define DEV_GET_COMPANY_SIGNATURE __END_SIG__ -#define DEV_GET_DISCOVERABLE_TO_SIGNATURE __END_SIG__ -#define DEV_GET_FEATURES_SIGNATURE __END_SIG__ -#define DEV_GET_MAJOR_CLASS_SIGNATURE __END_SIG__ -#define DEV_GET_MANUFACTURER_SIGNATURE __END_SIG__ -#define DEV_GET_MINOR_CLASS_SIGNATURE __END_SIG__ -#define DEV_GET_MODE_SIGNATURE __END_SIG__ -#define DEV_GET_NAME_SIGNATURE __END_SIG__ -#define DEV_GET_REVISION_SIGNATURE __END_SIG__ -#define DEV_GET_SERVICE_CLASSES_SIGNATURE __END_SIG__ -#define DEV_GET_VERSION_SIGNATURE __END_SIG__ -#define DEV_IS_CONNECTABLE_SIGNATURE __END_SIG__ -#define DEV_IS_DISCOVERABLE_SIGNATURE __END_SIG__ -#define DEV_SET_CLASS_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_SET_DISCOVERABLE_TO_SIGNATURE DBUS_TYPE_UINT32_AS_STRING \ - __END_SIG__ -#define DEV_SET_MINOR_CLASS_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_SET_MODE_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_SET_NAME_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_DISCOVER_SIGNATURE __END_SIG__ -#define DEV_DISCOVER_CACHE_SIGNATURE __END_SIG__ -#define DEV_DISCOVER_CANCEL_SIGNATURE __END_SIG__ -#define DEV_DISCOVER_SERVICE_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_LAST_SEEN_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_LAST_USED_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_SET_REMOTE_ALIAS_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_GET_REMOTE_ALIAS_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_GET_REMOTE_NAME_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_GET_REMOTE_VERSION_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_CREATE_BONDING_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_LIST_BONDINGS_SIGNATURE __END_SIG__ -#define DEV_HAS_BONDING_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_REMOVE_BONDING_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_PIN_CODE_LENGTH_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ -#define DEV_ENCRYPTION_KEY_SIZE_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ - __END_SIG__ - +#define DEV_GET_ADDRESS_SIGNATURE __END_SIG__ +#define DEV_GET_VERSION_SIGNATURE __END_SIG__ +#define DEV_GET_REVISION_SIGNATURE __END_SIG__ +#define DEV_GET_MANUFACTURER_SIGNATURE __END_SIG__ +#define DEV_GET_COMPANY_SIGNATURE __END_SIG__ +#define DEV_GET_FEATURES_SIGNATURE __END_SIG__ +#define DEV_GET_MODE_SIGNATURE __END_SIG__ +#define DEV_SET_MODE_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_GET_DISCOVERABLE_TO_SIGNATURE __END_SIG__ +#define DEV_SET_DISCOVERABLE_TO_SIGNATURE DBUS_TYPE_UINT32_AS_STRING \ + __END_SIG__ +#define DEV_IS_CONNECTABLE_SIGNATURE __END_SIG__ +#define DEV_IS_DISCOVERABLE_SIGNATURE __END_SIG__ +#define DEV_GET_MAJOR_CLASS_SIGNATURE __END_SIG__ +#define DEV_GET_MINOR_CLASS_SIGNATURE __END_SIG__ +#define DEV_SET_MINOR_CLASS_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_GET_SERVICE_CLASSES_SIGNATURE __END_SIG__ +#define DEV_GET_NAME_SIGNATURE __END_SIG__ +#define DEV_SET_NAME_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_GET_REMOTE_VERSION_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_GET_REMOTE_REVISION_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_GET_REMOTE_MANUFACTURER_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_GET_REMOTE_COMPANY_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_GET_REMOTE_NAME_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_GET_REMOTE_ALIAS_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_SET_REMOTE_ALIAS_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_LAST_SEEN_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_LAST_USED_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_CREATE_BONDING_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_REMOVE_BONDING_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_HAS_BONDING_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_LIST_BONDINGS_SIGNATURE __END_SIG__ +#define DEV_PIN_CODE_LENGTH_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_ENCRYPTION_KEY_SIZE_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ +#define DEV_DISCOVER_SIGNATURE __END_SIG__ +#define DEV_DISCOVER_CACHE_SIGNATURE __END_SIG__ +#define DEV_DISCOVER_CANCEL_SIGNATURE __END_SIG__ +#define DEV_DISCOVER_SERVICE_SIGNATURE DBUS_TYPE_STRING_AS_STRING \ + __END_SIG__ /* Signals sent in the Manager path */ #define DEV_SIG_MODE_CHANGED "ModeChanged" |