Thread (8 messages) flat view 8 messages, 2 authors, 2012-03-20
STALE5284d

[PATCH] mgmt-api: add read Tx power level command

From: Arik Nemtsov <hidden>
Date: 2012-03-11 22:10:37
Subsystem: the rest · Maintainer: Linus Torvalds

This command reads the Tx power level for a given connected device
---
 doc/mgmt-api.txt |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 4ede43d..8dae2b4 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -815,6 +815,34 @@ Unblock Device Command
 	or failure.
 
 
+Read Tx Power Level Command
+======================
+
+	Command Code:		0x0028
+	Controller Index:	<controller id>
+	Command Parameters:	Address (6 Octets)
+				Address_Type (1 Octet)
+				Type (1 Octet)
+	Return Parameters:	Address (6 Octets)
+				Address_Type (1 Octet)
+				Status (1 Octet)
+				Level (1 Octet)
+
+	Possible values for the Address_Type parameter:
+		0	BR/EDR
+		1	LE Public
+		2	LE Random
+
+	Possible values for the Type parameter:
+		0	Current Transmit Power Level
+		1	Maximum Transmit Power Level
+
+	This command can only be used when the controller is powered.
+
+	This command generates a Command Complete event on success
+	or failure.
+
+
 Set Device ID Command
 =====================
 
-- 
1.7.5.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help