summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-03-14 21:12:25 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-03-14 21:12:25 +0000
commit19d46a37c8c3224e2a690352b305d8fc6af65e6b (patch)
tree7893f5b15b62dbbd190326fc37e3064d7002f4fc
parent451e08926eda0977f554907c14db359d1b7bfbc7 (diff)
Add callback implementation for ConfirmModeChange
-rwxr-xr-xhcid/simple-agent6
1 files changed, 6 insertions, 0 deletions
diff --git a/hcid/simple-agent b/hcid/simple-agent
index d6cc9482..bdb35cfc 100755
--- a/hcid/simple-agent
+++ b/hcid/simple-agent
@@ -20,6 +20,12 @@ class Agent(dbus.service.Object):
return "1234"
@dbus.service.method("org.bluez.Agent",
+ in_signature='s', out_signature='')
+ def ConfirmModeChange(self, mode):
+ print("ConfirmModeChange (" + mode + ")")
+ return
+
+ @dbus.service.method("org.bluez.Agent",
in_signature='', out_signature='')
def Cancel(self):
print("Cancel")