diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-02-27 10:22:20 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-02-27 10:22:20 +0000 |
commit | e4897f4192a17338c89a8abea249648c66cce5aa (patch) | |
tree | ada8e68eb9b0976cf9a9f1e4e4dc14f29c62c5ca /hcid/dbus-test | |
parent | d7dd0c224080fc072fff6f37fe7cfe727a43245e (diff) |
Update GetPinCodeLength and GetEncryptionKeySize methods
Diffstat (limited to 'hcid/dbus-test')
-rwxr-xr-x | hcid/dbus-test | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hcid/dbus-test b/hcid/dbus-test index cd78456a..e15431be 100755 --- a/hcid/dbus-test +++ b/hcid/dbus-test @@ -42,8 +42,8 @@ dev_cmds = [ "GetAddress", "RemoveBonding", "HasBonding", "ListBondings", - "PinCodeLength", - "EncryptionKeySize" ] + "GetPinCodeLength", + "GetEncryptionKeySize" ] dev_signals = [ "ModeChanged", "NameChanged", "MinorClassChanged", @@ -311,16 +311,16 @@ class Tester: bondings = self.device.ListBondings() for bond in bondings: print bond, - elif self.cmd == 'PinCodeLength': + elif self.cmd == 'GetPinCodeLength': if len(self.cmd_args) == 1: - print self.device.PinCodeLength(self.cmd_args[0]) + print self.device.GetPinCodeLength(self.cmd_args[0]) else: - print 'Usage: %s -i <dev> PinCodeLength address' % self.name - elif self.cmd == 'EncryptionKeySize': + print 'Usage: %s -i <dev> GetPinCodeLength address' % self.name + elif self.cmd == 'GetEncryptionKeySize': if len(self.cmd_args) == 1: - print self.device.EncryptionKeySize(self.cmd_args[0]) + print self.device.GetEncryptionKeySize(self.cmd_args[0]) else: - print 'Usage: %s -i <dev> EncryptionKeySize address' % self.name + print 'Usage: %s -i <dev> GetEncryptionKeySize address' % self.name else: # FIXME: remove at future version print 'Script Error: Method %s not found. Maybe a mispelled word.' % (self.cmd_args) |