summaryrefslogtreecommitdiff
path: root/doc/agent-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-03-10 21:18:56 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-03-10 21:18:56 +0000
commit0693bc353614e02d657e771982cfa4d13ed243f5 (patch)
treef5555988ab53b623cd020ae07fa140b79f8f0bf4 /doc/agent-api.txt
parent436b2217f66a04970b3e1b78445d0c86e0513731 (diff)
downloadbluez-0693bc353614e02d657e771982cfa4d13ed243f5.tar.gz
Update agent method descriptions
Diffstat (limited to 'doc/agent-api.txt')
-rw-r--r--doc/agent-api.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index 24dc508b9..1e82e2b35 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -19,3 +19,34 @@ Methods void Release()
cleanup tasks. There is no need to unregister the
agent, because when this method gets called it has
already been unregistered.
+
+ string RequestPasskey(object device)
+
+ This method gets called when the service daemon
+ needs to get the passkey for an authentication. The
+ return value is actual passkey.
+
+ Possible errors: org.bluez.Error.Rejected
+ org.bluez.Error.Canceled
+
+ void Authorize(object device)
+
+ This method gets called when the service daemon
+ needs to authorize a connection/service request.
+
+ Possible errors: org.bluez.Error.Rejected
+ org.bluez.Error.Canceled
+
+ void ConfirmModeChange(string mode)
+
+ This method gets called if a mode change is requested
+ that needs to be confirmed by the user. An example
+ would be leaving flight mode.
+
+ Possible errors: org.bluez.Error.Rejected
+ org.bluez.Error.Canceled
+
+ void Cancel()
+
+ This method gets called to indicate that the agent
+ request failed before a reply was returned.