Skip to contentSkip to conversation

doc: Add mode for enabling generation of debug keys

PATCH Applied Marcel Holtmann 2 participants 2 messages Jun 21, 2014 – Jun 22, 2014 Bluetooth drivers

lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 1/1 doc: Add mode for enabling generation of debug keys

---
 doc/mgmt-api.txt | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)
doc/mgmt-api.txt +17 -2
index e15a78f3e4b7..5a7d2ef0e5d3 100644
@@ -1622,8 +1622,23 @@ Set Debug Keys Command
 
 	This command is used to tell the kernel whether to accept the
 	usage of debug keys or not. The allowed values for this parameter
-	are 0x00 and 0x01. All other values will return an Invalid Parameters
-	response.
+	are 0x00, 0x01 and 0x02. All other values will return an Invalid
+	Parameters response.
+
+	With a value of 0x00 any generated debug key will be discarded
+	as soon as the connection terminates.
+
+	With a value of 0x01 generated debug keys will be kept and can
+	be used for future connections. However debug keys are always
+	marked as non persistent and should not be stored. This means
+	a reboot or changing the value back to 0x00 will delete them.
+
+	With a value of 0x02 generated debug keys will be kept and can
+	be used for future connections. This has the same affect as
+	with value 0x01. However in addition this value will also
+	enter the controller mode to generate debug keys for each
+	new pairing. Changing the value back to 0x01 or 0x00 will
+	disable the controller mode for generating debug keys.
 
 	This command generates a Command Complete event on success or
 	a Command Status event on failure.
Signature · 1 line
1.9.3
#1 lore raw

Hi Marcel,

Quoted 3 lines · Marcel Holtmann
---
 doc/mgmt-api.txt | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

Applied, thanks. Though the actual implementation is probably some days away.

Johan