OSDN Git Service

Small API update
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Jun 2008 01:51:04 +0000 (01:51 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 16 Jun 2008 01:51:04 +0000 (01:51 +0000)
doc/agent-api.txt

index d0137aa..7e3fa3a 100644 (file)
@@ -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