From bbf21e61fbaa12532601f5f2b3d33a531ce590b5 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 5 May 2011 21:17:20 +0200 Subject: [PATCH] Document new "hex-encoded pins" feature --- doc/agent-api.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/agent-api.txt b/doc/agent-api.txt index d8d35c05a..0c84e1cca 100644 --- a/doc/agent-api.txt +++ b/doc/agent-api.txt @@ -26,7 +26,13 @@ Methods void Release() needs to get the passkey for an authentication. The return value should be a string of 1-16 characters - length. The string can be alphanumeric. + length. Longer strings are truncated to 16 characters. + The string can be alphanumeric. + + Strings starting with '$' are parsed as hex-encoded + pins. That is, each two following hex characters form + a single byte of the resulting pin. The parser is + case-insensitive. Possible errors: org.bluez.Error.Rejected org.bluez.Error.Canceled -- 2.47.3