From 7216b7e96794ce4351d6ee69c9a5a2601283a8dc Mon Sep 17 00:00:00 2001 From: Scott James Remnant Date: Thu, 5 Apr 2012 15:29:40 -0700 Subject: [PATCH] simple-agent: add DisplayPinCode --- test/simple-agent | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/simple-agent b/test/simple-agent index af8481520..38d023565 100755 --- a/test/simple-agent +++ b/test/simple-agent @@ -52,6 +52,11 @@ class Agent(dbus.service.Object): print "DisplayPasskey (%s, %06d)" % (device, passkey) @dbus.service.method("org.bluez.Agent", + in_signature="os", out_signature="") + def DisplayPinCode(self, device, pincode): + print "DisplayPinCode (%s, %s)" % (device, pincode) + + @dbus.service.method("org.bluez.Agent", in_signature="ou", out_signature="") def RequestConfirmation(self, device, passkey): print "RequestConfirmation (%s, %06d)" % (device, passkey) -- 2.11.0