summaryrefslogtreecommitdiffstats
path: root/doc/agent-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-16 01:51:04 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-16 01:51:04 +0000
commitfd1ac97806d4531cb54523b3d694899afce281e7 (patch)
treed13cd0adcb2865333d98b76f76370efa7c3a83d4 /doc/agent-api.txt
parentb509da915a937dc34d37d12ff1e45c1b3105aeb2 (diff)
Small API update
Diffstat (limited to 'doc/agent-api.txt')
-rw-r--r--doc/agent-api.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index d0137aad..7e3fa3a9 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -42,15 +42,21 @@ Methods void Release()
Possible errors: org.bluez.Error.Rejected
org.bluez.Error.Canceled
- void DisplayPasskey(object device, uint32 passkey)
+ void DisplayPasskey(object device, uint32 passkey, uint8 entered)
This method gets called when the service daemon
needs to display a passkey for an authentication.
+ The entered parameter indicates the number of already
+ typed keys on the remote side.
+
An empty reply should be returned. When the passkey
needs no longer to be displayed, the Cancel method
of the agent will be called.
+ During the pairing process this method might be
+ called multiple times to update the entered value.
+
void RequestConfirmation(object device, uint32 passkey)
This method gets called when the service daemon