linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Add RequestSecurePinCode to agent API
@ 2011-06-08 14:05 Waldemar Rymarkiewicz
  2011-06-08 14:05 ` [PATCH 2/2] Request secure pincode from agent when necessary Waldemar Rymarkiewicz
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Waldemar Rymarkiewicz @ 2011-06-08 14:05 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Johan Hedberg, Waldemar Rymarkiewicz

The method is called if min. 16 bytes pincode is mendatory
to authenticate connection.

In practice this will be called only with mgmtops switched on. Hciops
don't support secure pin code so far.
---
 doc/agent-api.txt |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/doc/agent-api.txt b/doc/agent-api.txt
index 9ab2063..b1cb354 100644
--- a/doc/agent-api.txt
+++ b/doc/agent-api.txt
@@ -31,6 +31,17 @@ Methods		void Release()
 			Possible errors: org.bluez.Error.Rejected
 			                 org.bluez.Error.Canceled
 
+		string RequestSecurePinCode(object device)
+
+			This method gets called when the service daemon
+			needs to get the secure passkey for an authentication.
+
+			The return value should be a string of 16 characters
+			length. The string can be alphanumeric.
+
+			Possible errors: org.bluez.Error.Rejected
+			                 org.bluez.Error.Canceled
+
 		uint32 RequestPasskey(object device)
 
 			This method gets called when the service daemon
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-10  1:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 14:05 [PATCH 1/2] Add RequestSecurePinCode to agent API Waldemar Rymarkiewicz
2011-06-08 14:05 ` [PATCH 2/2] Request secure pincode from agent when necessary Waldemar Rymarkiewicz
2011-06-08 17:56 ` [PATCH 1/2] Add RequestSecurePinCode to agent API Gustavo F. Padovan
2011-06-09  8:45   ` Waldemar.Rymarkiewicz
2011-06-09 10:24 ` Marcel Holtmann
2011-06-09 12:38   ` Luiz Augusto von Dentz
2011-06-09 19:18     ` Gustavo F. Padovan
2011-06-10  0:54       ` Luiz Augusto von Dentz
2011-06-10  1:14       ` Johan Hedberg
2011-06-09 14:00   ` Waldemar.Rymarkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).