summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-10-20 14:19:17 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-10-20 14:19:17 +0000
commitdb048bd6bb5a4f71c3362430a29b963e0b25247c (patch)
tree49904e2b935d10e521a5b43c83baa08365d20b37 /hcid/dbus-api.txt
parent8f0584a2042946f1bbe41b48a57c3a824ffd443b (diff)
Update D-Bus API and example passkey agent
Diffstat (limited to 'hcid/dbus-api.txt')
-rw-r--r--hcid/dbus-api.txt20
1 files changed, 17 insertions, 3 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index 2656a838..96d43ef9 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -954,21 +954,35 @@ Service unique name
Interface org.bluez.PasskeyAgent
Object path freely definable
-Methods string Request(string path, string address)
+Methods string Request(string path, string address, boolean numeric)
This method gets called when the service daemon
needs to get the passkey for an authentication. The
return value is actual passkey.
The first argument contains the path of the local
- adapter and the second one the remote address.
+ adapter and the second one the remote address. The
+ third argument signals if a numeric PIN code is
+ expected or not. The default is a 1 to 16 byte PIN
+ code in UTF-8 format.
+
+ Possible errors: org.bluez.Error.Rejected
+ org.bluez.Error.Canceled
+
+ boolean Confirm(string path, string address, string value)
+
+ This method gets called when the service daemon
+ needs to verify a passkey. The verification is
+ done by showing the value to the passkey agent
+ and returnin true means a successful confirmation
+ while false means that the values don't match.
Possible errors: org.bluez.Error.Rejected
org.bluez.Error.Canceled
void Cancel(string path, string address)
- This method is called to indicate that the
+ This method gets called to indicate that the
authentication request failed before a reply was
returned by the Request method.