2014-05-14 13:28:26

by Andrzej Kaczmarek

[permalink] [raw]
Subject: [PATCH v6] doc: Add description for Get Connection Information command

From: Lukasz Rymanowski <[email protected]>

This patch introduces Get Connection Information command.
---
doc/mgmt-api.txt | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index cd5cd24..b691ae0 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -1679,6 +1679,35 @@ Load Identity Resolving Keys Command
Invalid Index


+Get Connection Information Command
+==================================
+
+ Command Code: 0x0031
+ Controller Index: <controller id>
+ Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
+ Return Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
+ RSSI (1 Octet)
+ TX_Power (1 Octet)
+ Max_TX_Power (1 Octet)
+
+ This command is used to get connection information.
+
+ TX_Power and Max_TX_Power can be set to 127 if values are invalid or
+ unknown.
+
+ This command generates a Command Complete event on success and
+ on failure. In case of failure only Address and Address_Type fields
+ are valid and values of remaining parameters are considered invalid
+ and shall be ignored.
+
+ Possible errors: Not Connected
+ Not Powered
+ Invalid Parameters
+ Invalid Index
+
+
Command Complete Event
======================

--
1.9.3



2014-05-16 05:07:54

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH v6] doc: Add description for Get Connection Information command

Hi,

On Wed, May 14, 2014, Andrzej Kaczmarek wrote:
> From: Lukasz Rymanowski <[email protected]>
>
> This patch introduces Get Connection Information command.
> ---
> doc/mgmt-api.txt | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)

Applied. Thanks.

Johan