From: Arik Nemtsov <arik@wizery.com>
To: <linux-bluetooth@vger.kernel.org>
Cc: Arik Nemtsov <arik@wizery.com>
Subject: [PATCH] mgmt-api: add read Tx power level command
Date: Mon, 12 Mar 2012 00:10:37 +0200 [thread overview]
Message-ID: <1331503837-19015-1-git-send-email-arik@wizery.com> (raw)
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
next reply other threads:[~2012-03-11 22:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-11 22:10 Arik Nemtsov [this message]
2012-03-12 0:42 ` [PATCH] mgmt-api: add read Tx power level command Marcel Holtmann
2012-03-12 7:39 ` Arik Nemtsov
2012-03-12 17:29 ` Marcel Holtmann
2012-03-12 18:07 ` Arik Nemtsov
2012-03-19 9:00 ` Arik Nemtsov
2012-03-19 17:44 ` Marcel Holtmann
2012-03-20 16:07 ` Arik Nemtsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1331503837-19015-1-git-send-email-arik@wizery.com \
--to=arik@wizery.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox