summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-11-03 14:35:15 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-11-03 14:35:15 +0000
commita204981f9c2cd042b1b314385cc2c218dcf6f7b5 (patch)
tree4d1649bacae6346ab85b77ee0c618f84ab7e1cb7 /hcid
parent004a8f318415fec7b3dfc338520a3c1d44da8c85 (diff)
Update dbus-test script
Diffstat (limited to 'hcid')
-rwxr-xr-xhcid/dbus-test9
1 files changed, 5 insertions, 4 deletions
diff --git a/hcid/dbus-test b/hcid/dbus-test
index 830d3bf7..c931fa85 100755
--- a/hcid/dbus-test
+++ b/hcid/dbus-test
@@ -8,8 +8,9 @@ import getopt
from signal import *
mgr_cmds = [ "DeviceList", "DefaultDevice" ]
-dev_cmds = [ "Inquiry", "CancelInquiry", "PeriodicInquiry", "CancelPeriodic",
- "RemoteName", "Connections", "Authenticate", "RoleSwitch" ]
+dev_cmds = [ "Up", "Down", "Inquiry", "CancelInquiry", "PeriodicInquiry",
+ "CancelPeriodic", "RemoteName", "Connections", "Authenticate",
+ "RoleSwitch" ]
class Tester:
exit_events = []
@@ -100,8 +101,8 @@ class Tester:
self.manager.connect_to_signal('DeviceRemoved', self.device_removed)
def usage(self):
- print 'Usage: %s [-i] [-l] [-h] <cmd> [arg1..]' % self.name
- print ' -i <dev> Specify device (e.g. "hci0" or "/dev/bluez/Device/hci0")'
+ print 'Usage: %s [-i <dev>] [-l] [-h] <cmd> [arg1..]' % self.name
+ print ' -i <dev> Specify device (e.g. "hci0" or "/org/bluez/Device/hci0")'
print ' -l Listen for events (no command required)'
print ' -h Show this help'
print 'Manager commands:'