This patch introduces Get Connection Information command.
---
v2: Changed Command name and add Flags into the response
v3: Added TXPowerMax into the response based on the comments we got.
v4: Fixed name to TX_Power_Max
v5: Removed EIR and Data Type. Only fixed values in the response.
doc/mgmt-api.txt | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index cd5cd24..e51ba6c 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
@@ -1679,6 +1679,32 @@ 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)
+ TX_Power_Max (1 Octet)
+
+ This command is used to get connection information.
+
+ TX_Power and TX_Power_Max are set to 127 if incorrect.
+
+ This command generates a Command Complete event on success and
+ on failure.
+
+ Possible errors: Not Connected
+ Not Powered
+ Invalid Parameters
+ Invalid Index
+
+
Command Complete Event
======================
--
1.8.4