summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-11-06 21:24:05 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-11-06 21:24:05 +0000
commite228331a074d749719048ea55b06a05afb9137dd (patch)
treebd53b4afdbd4ca1e02ce73d82df34085eab991bf /hcid/dbus-test
parent520068bb1f73ea1a82b416461feecccded1ffc78 (diff)
Some parameters of the inquiry must be uint16
Diffstat (limited to 'hcid/dbus-test')
-rwxr-xr-xhcid/dbus-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-test b/hcid/dbus-test
index c931fa85..ddd3c5f3 100755
--- a/hcid/dbus-test
+++ b/hcid/dbus-test
@@ -222,7 +222,7 @@ class Tester:
length, min, max = self.cmd_args
self.listen = True
try:
- self.ctl.PeriodicInquiry(dbus.Byte(length), dbus.Byte(min), dbus.Byte(max))
+ self.ctl.PeriodicInquiry(dbus.Byte(length), dbus.UInt16(min), dbus.UInt16(max))
except dbus.DBusException, e:
print 'Sending %s failed: %s' % (self.cmd, e)
sys.exit(1)