Diff between 1f921e01c700151bcac3dc9477d85bfff36e05d3 and 51ab3c975f846a5b25dbfd1d078d881a1a713535

Changed Files

File Additions Deletions Status
doc/agent-api.txt +8 -0 modified

Full Patch

diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index 0c84e1c..fca2875 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -63,6 +63,10 @@ Methods		void Release()
 			During the pairing process this method might be
 			called multiple times to update the entered value.
 
+			Note that the passkey will always be a 6-digit number,
+			so the display should be zero-padded at the start if
+			the value contains less than 6 digits.
+
 		void RequestConfirmation(object device, uint32 passkey)
 
 			This method gets called when the service daemon
@@ -71,6 +75,10 @@ Methods		void Release()
 			To confirm the value it should return an empty reply
 			or an error in case the passkey is invalid.
 
+			Note that the passkey will always be a 6-digit number,
+			so the display should be zero-padded at the start if
+			the value contains less than 6 digits.
+
 			Possible errors: org.bluez.Error.Rejected
 			                 org.bluez.Error.Canceled