blob: e7cd7f8b97327c7ae5eb3eaa9ae05b6721a850f7 [file] [log] [blame]
From 4f2f55231bad4d5da2505cb674375e9bf8ac029d Mon Sep 17 00:00:00 2001
From: Scott James Remnant <scott@netsplit.com>
Date: Mon, 23 Jan 2012 15:25:56 -0800
Subject: [PATCH 08/13] simple-agent: add DisplayPinCode
---
test/simple-agent | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/test/simple-agent b/test/simple-agent
index af84815..38d0235 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)
--
1.7.7.3