Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] Add secure param to Mgmt PIN Code Request Event
@ 2011-04-28 10:50 Waldemar Rymarkiewicz
  2011-04-28 10:50 ` [PATCH 2/2] Add support of secure pin code in mgmt code Waldemar Rymarkiewicz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Waldemar Rymarkiewicz @ 2011-04-28 10:50 UTC (permalink / raw)
  To: linux-bluetooth, Johan Hedberg; +Cc: Waldemar Rymarkiewicz

Update mgmt interface with secure param in pin code request event
which is part of secure pin requirement implementation.
---
 doc/mgmt-api.txt |    1 +
 lib/mgmt.h       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 925b5ad..45f6a64 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -482,6 +482,7 @@ PIN Code Request Event
 Event Code		0x000E
 Controller Index:	<controller id>
 Event Parameters	Address (6 Octets)
+			Secure (1 Octet)
 
 
 User Confirmation Request Event
diff --git a/lib/mgmt.h b/lib/mgmt.h
index f45321c..b1f71ee 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -259,6 +259,7 @@ struct mgmt_ev_connect_failed {
 #define MGMT_EV_PIN_CODE_REQUEST	0x000E
 struct mgmt_ev_pin_code_request {
 	bdaddr_t bdaddr;
+	uint8_t secure;
 } __packed;
 
 #define MGMT_EV_USER_CONFIRM_REQUEST	0x000F
-- 
1.7.1


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

end of thread, other threads:[~2011-05-04  7:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28 10:50 [PATCH 1/2] Add secure param to Mgmt PIN Code Request Event Waldemar Rymarkiewicz
2011-04-28 10:50 ` [PATCH 2/2] Add support of secure pin code in mgmt code Waldemar Rymarkiewicz
2011-04-28 21:04 ` [PATCH 1/2] Add secure param to Mgmt PIN Code Request Event Johan Hedberg
2011-04-30 18:46 ` Marcel Holtmann
2011-05-02  7:26   ` Waldemar.Rymarkiewicz
2011-05-02 15:31     ` Marcel Holtmann
2011-05-04  7:52       ` Waldemar.Rymarkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox