From fd1ac97806d4531cb54523b3d694899afce281e7 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 16 Jun 2008 01:51:04 +0000 Subject: Small API update --- doc/agent-api.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/agent-api.txt') 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 -- cgit