* [PATCH] Add new command and event for LTK storage support
@ 2011-10-24 12:26 Vinicius Costa Gomes
2011-10-24 13:33 ` [PATCH v2 BlueZ] " Vinicius Costa Gomes
0 siblings, 1 reply; 3+ messages in thread
From: Vinicius Costa Gomes @ 2011-10-24 12:26 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Vinicius Costa Gomes
This documents the new command and event that are to be added to
the Management API to add support for persistent pairing of LE
devices.
---
doc/mgmt-api.txt | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 8d5d8d5..44fef0b 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -356,6 +356,24 @@ Name Information Command
expected for each Device Found event with the Confirm Name
flag set.
+Load Long Term Keys Command
+===========================
+
+ Command Code: 0x0021
+ Controller Index: <controller id>
+ Command Parameters: Debug Keys (1 Octet)
+ Key Count (2 Octets)
+ Key1 {
+ Address (6 Octets)
+ PIN_Length (1 Octet)
+ Encryption Size (1 Octet)
+ Enc. Diversifier (2 Octets)
+ Random Number (8 Octets)
+ Value (16 Octets)
+ }
+ Key2 { }
+ ...
+
Read Tracing Buffer Size Command
================================
@@ -588,3 +606,18 @@ Device Unblocked Event
Event Code 0x00016
Controller Index <controller id>
Event Parameters Address (6 Octets)
+
+New Long Term Key Event
+=======================
+
+Event Code 0x0017
+Controller Index <controller id>
+Event Parameters Store Hint (1 Octet)
+ Key {
+ Address (6 Octets)
+ PIN_Length (1 Octet)
+ Encryption Size (1 Octet)
+ Enc. Diversifier (2 Octets)
+ Random Number (8 Octets)
+ Value (16 Octets)
+ }
--
1.7.7
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH v2 BlueZ] Add new command and event for LTK storage support
2011-10-24 12:26 [PATCH] Add new command and event for LTK storage support Vinicius Costa Gomes
@ 2011-10-24 13:33 ` Vinicius Costa Gomes
2011-10-24 14:03 ` Johan Hedberg
0 siblings, 1 reply; 3+ messages in thread
From: Vinicius Costa Gomes @ 2011-10-24 13:33 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Vinicius Costa Gomes
This documents the new command and event that are to be added to
the Management API to add support for persistent pairing of LE
devices.
---
Changes:
- New command code, because new commands were added;
- Removed the Debug Keys parameter;
doc/mgmt-api.txt | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 57771b4..9e158a1 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -382,6 +382,23 @@ Name Information Command
expected for each Device Found event with the Confirm Name
flag set.
+Load Long Term Keys Command
+===========================
+
+ Command Code: 0x0023
+ Controller Index: <controller id>
+ Command Parameters: Key Count (2 Octets)
+ Key1 {
+ Address (6 Octets)
+ PIN_Length (1 Octet)
+ Encryption Size (1 Octet)
+ Enc. Diversifier (2 Octets)
+ Random Number (8 Octets)
+ Value (16 Octets)
+ }
+ Key2 { }
+ ...
+
Read Tracing Buffer Size Command
================================
@@ -638,3 +655,18 @@ Device Unblocked Event
Event Code 0x00016
Controller Index <controller id>
Event Parameters Address (6 Octets)
+
+New Long Term Key Event
+=======================
+
+Event Code 0x0017
+Controller Index <controller id>
+Event Parameters Store Hint (1 Octet)
+ Key {
+ Address (6 Octets)
+ PIN_Length (1 Octet)
+ Encryption Size (1 Octet)
+ Enc. Diversifier (2 Octets)
+ Random Number (8 Octets)
+ Value (16 Octets)
+ }
--
1.7.7
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2 BlueZ] Add new command and event for LTK storage support
2011-10-24 13:33 ` [PATCH v2 BlueZ] " Vinicius Costa Gomes
@ 2011-10-24 14:03 ` Johan Hedberg
0 siblings, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2011-10-24 14:03 UTC (permalink / raw)
To: Vinicius Costa Gomes; +Cc: linux-bluetooth
Hi Vinicius,
On Mon, Oct 24, 2011, Vinicius Costa Gomes wrote:
> This documents the new command and event that are to be added to
> the Management API to add support for persistent pairing of LE
> devices.
> ---
>
> Changes:
> - New command code, because new commands were added;
> - Removed the Debug Keys parameter;
>
>
> doc/mgmt-api.txt | 32 ++++++++++++++++++++++++++++++++
> 1 files changed, 32 insertions(+), 0 deletions(-)
Applied, except that the event needed to be 0x0018 instead of 17 because
of the new Passkey Request event.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-24 14:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24 12:26 [PATCH] Add new command and event for LTK storage support Vinicius Costa Gomes
2011-10-24 13:33 ` [PATCH v2 BlueZ] " Vinicius Costa Gomes
2011-10-24 14:03 ` Johan Hedberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.