summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-02-24 17:49:51 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-02-24 17:49:51 +0000
commitb0fc2dd356f7f5e1bceb3d901058bcd9e2bc5535 (patch)
tree23ddfe3c6c5c997131588997faabdbb596bea190
parentfc2954dca85c9835eee190a24fc4dcce43a29c3b (diff)
Update D-Bus API testing script
-rwxr-xr-xhcid/dbus-test54
1 files changed, 42 insertions, 12 deletions
diff --git a/hcid/dbus-test b/hcid/dbus-test
index d47b7ddd..a092affe 100755
--- a/hcid/dbus-test
+++ b/hcid/dbus-test
@@ -9,22 +9,52 @@ import getopt
from signal import *
mgr_cmds = [ "ListDevices", "DefaultDevice" ]
-dev_cmds = [ "GetAddress", "GetManufacturer", "GetVersion", "GetRevision",
- "GetCompany", "GetMode", "SetMode", "GetDiscoverableTimeout",
- "SetDiscoverableTimeout", "IsConnectable", "IsDiscoverable" ,
- "GetName", "SetName", "GetServiceClasses", "GetMajorClass",
- "GetMinorClass", "SetMinorClass", "GetRemoteVersion", "GetRemoteName",
- "GetRemoteAlias", "SetRemoteAlias", "LastSeen", "LastUsed",
- "CreateBonding", "RemoveBonding", "HasBonding", "ListBondings",
- "PinCodeLength", "EncryptionKeySize" ]
mgr_signals = [ "DeviceAdded", "DeviceRemoved" ]
-dev_signals = [ "ModeChanged", "NameChanged" , "MinorClassChanged",
- "RemoteAliasChanged", "RemoteNameChanged" ]
+
+dev_cmds = [ "GetAddress",
+ "GetVersion",
+ "GetRevision",
+ "GetManufacturer",
+ "GetCompany",
+ "GetFeatures",
+ "GetMode",
+ "SetMode",
+ "GetDiscoverableTimeout",
+ "SetDiscoverableTimeout",
+ "IsConnectable",
+ "IsDiscoverable",
+ "GetMajorClass",
+ "GetMinorClass",
+ "SetMinorClass",
+ "GetServiceClasses",
+ "GetName",
+ "SetName",
+ "GetRemoteVersion",
+ "GetRemoteRevision",
+ "GetRemoteManufacturer",
+ "GetRemoteCompany",
+ "GetRemoteName",
+ "GetRemoteAlias",
+ "SetRemoteAlias",
+ "LastSeen",
+ "LastUsed",
+ "CreateBonding",
+ "RemoveBonding",
+ "HasBonding",
+ "ListBondings",
+ "PinCodeLength",
+ "GetServiceClasses",
+ "EncryptionKeySize" ]
+dev_signals = [ "ModeChanged",
+ "NameChanged",
+ "MinorClassChanged",
+ "RemoteNameChanged",
+ "RemoteAliasChanged" ]
+
dev_signals_filter = [ "/org/bluez/Device/hci0", "/org/bluez/Device/hci1",
"/org/bluez/Device/hci2", "/org/bluez/Device/hci3",
"/org/bluez/Device/hci4", "/org/bluez/Device/hci5",
- "/org/bluez/Device/hci6", "/org/bluez/Device/hci7",
- "/org/bluez/Device/hci8", "/org/bluez/Device/hci9" ]
+ "/org/bluez/Device/hci6", "/org/bluez/Device/hci7" ]
class Tester:
exit_events = []