diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-04-10 20:52:49 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-04-10 20:52:49 +0000 |
commit | 61a6576b2b7badd8963219873b631e6a51df612c (patch) | |
tree | 2858fbb86244088fa2d032ad30cdac7ed0865bfc /hcid | |
parent | bb319ede0033404eaab9ac96685975bb8fbf6861 (diff) |
simple-agent: added Authorize method handler
Diffstat (limited to 'hcid')
-rwxr-xr-x | hcid/simple-agent | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hcid/simple-agent b/hcid/simple-agent index d233464f..ac9eece0 100755 --- a/hcid/simple-agent +++ b/hcid/simple-agent @@ -14,6 +14,12 @@ class Agent(dbus.service.Object): mainloop.quit() @dbus.service.method("org.bluez.Agent", + in_signature="os", out_signature="") + def Authorize(self, device, uuid): + print "Authorize (" + device + ", " + uuid + ")" + return + + @dbus.service.method("org.bluez.Agent", in_signature="o", out_signature="s") def RequestPasskey(self, device): print "RequestPasskey (" + device + ")" |