diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
index 946439c..3f51f30 100644
--- a/doc/mgmt-api.txt
+++ b/doc/mgmt-api.txt
Key_Count (2 Octets)
Key1 {
Address (6 Octets)
- Type (1 Octet)
+ Key_Type (1 Octet)
Value (16 Octets)
PIN_Length (1 Octet)
}
Command Parameters: Key Count (2 Octets)
Key1 {
Address (6 Octets)
- Type (1 Octet)
+ Address_Type (1 Octet)
+ Key_Type (1 Octet)
Authenticated (1 Octet)
Master (1 Octet)
Encryption Size (1 Octet)
...
-Remove Keys Command
-===================
-
- Command Code: 0x0014
- Controller Index: <controller id>
- Command Parameters: Address (6 Octets)
- Disconnect (1 Octet)
- Return Parameters: Address (6 Octets)
- Status (1 Octet)
-
- Removes all keys associated with the remote device.
-
-
Disconnect Command
==================
- Command Code: 0x0015
+ Command Code: 0x0014
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Return Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Status (6 Octets)
Get Connections Command
=======================
- Command Code: 0x0016
+ Command Code: 0x0015
Controller Index: <controller id>
Command Parameters:
Return Parameters: Connection_Count (2 Octets)
Address1 {
Address (6 Octets)
- Type (1 Octet)
+ Address_Type (1 Octet)
}
Address2 { }
...
- Possible values for the Type parameter:
+ Possible values for the Address_Type parameter:
0 BR/EDR
1 LE Public
2 LE Random
PIN Code Reply Command
=======================
- Command Code: 0x0017
+ Command Code: 0x0016
Controller Index: <controller id>
Command Parameters:
Return Parameters: Address (6 Octets)
PIN Code Negative Reply Command
===============================
- Command Code: 0x0018
+ Command Code: 0x0017
Controller Index: <controller id>
Command Parameters:
Return Parameters: Address (6 Octets)
Set IO Capability Command
=========================
- Command Code: 0x0019
+ Command Code: 0x0018
Controller Index: <controller id>
Command Parameters: IO_Capability (1 Octet)
Return Parameters:
Pair Device Command
===================
- Command Code: 0x001A
+ Command Code: 0x0019
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
Address_Type (1 Octet)
==================
- Command Code: 0x001B
+ Command Code: 0x001A
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
Address_Type (1 Octet)
given to a preceding Pair Device command.
+Unpair Device Command
+=====================
+
+ Command Code: 0x001B
+ Controller Index: <controller id>
+ Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
+ Disconnect (1 Octet)
+ Return Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
+ Status (1 Octet)
+
+ Removes all keys associated with the remote device.
+
+
User Confirmation Reply Command
===============================
Command Code: 0x001C
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Return Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Status (1 Octet)
Command Code: 0x001D
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Return Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Status (1 Octet)
Command Code: 0x001E
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Passkey (4 Octets)
Return Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Status (1 Octet)
Command Code: 0x001F
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Return Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Status (1 Octet)
Command Code: 0x0021
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Hash (16 Octets)
Randomizer (16 Octets)
Return Parameters:
Command Code: 0x0022
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Return Parameters:
Start Discovery Command
=======================
- Command Code: 0x00023
+ Command Code: 0x0023
Controller Index: <controller id>
- Command Parameters: Type (1 Octet)
+ Command Parameters: Address_Type (1 Octet)
Return Parameters:
- Possible values for the Type parameter are a bit-wise or of the
- following bits:
+ Possible values for the Address_Type parameter are a bit-wise or
+ of the following bits:
1 BR/EDR
2 LE Public
Stop Discovery Command
======================
- Command Code: 0x00024
+ Command Code: 0x0024
Controller Index: <controller id>
Command Parameters:
Return Parameters:
Confirm Name Command
====================
- Command Code: 0x00025
+ Command Code: 0x0025
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
Name_Known (1 Octet)
Block Device Command
====================
- Command Code: 0x00026
+ Command Code: 0x0026
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Return Parameters:
Unblock Device Command
======================
- Command Code: 0x00027
+ Command Code: 0x0027
Controller Index: <controller id>
Command Parameters: Address (6 Octets)
+ Address_Type (1 Octet)
Return Parameters:
Controller Index: <controller id>
Event Parameters Key {
Address (6 Octets)
- Type (1 Octet)
+ Key_Type (1 Octet)
Value (16 Octets)
PIN_Length (1 Octet)
}
Event Parameters Store Hint (1 Octet)
Key {
Address (6 Octets)
- Type (1 Octet)
+ Address_Type (1 Octet)
+ Key_Type (1 Octet)
Authenticated (1 Octet)
Master (1 Octet)
Encryption Size (1 Octet)
Event Code 0x000B
Controller Index: <controller id>
Event Parameters Address (6 Octets)
- Type (1 Octet)
+ Address_Type (1 Octet)
EIR_Data_Length (2 Octets)
EIR_Data (0-65535 Octets)
- Possible values for the Type parameter:
+ Possible values for the Address_Type parameter:
0 BR/EDR
1 LE Public
2 LE Random
Event Code 0x000C
Controller Index: <controller id>
Event Parameters Address (6 Octets)
- Type (1 Octet)
+ AddresS_Type (1 Octet)
- Possible values for the Type parameter:
+ Possible values for the Address_Type parameter:
0 BR/EDR
1 LE Public
2 LE Random
Event Code 0x000D
Controller Index: <controller id>
Event Parameters Address (6 Octets)
- Type (1 Octet)
+ Address_Type (1 Octet)
Status (1 Octet)
- Possible values for the Type parameter:
+ Possible values for the AddresS_Type parameter:
0 BR/EDR
1 LE Public
2 LE Random
Event Code 0x000F
Controller Index: <controller id>
Event Parameters Address (6 Octets)
+ Address_Type (1 Octet)
Value (4 Octets)
Event Code 0x0010
Controller Index: <controller id>
Event Parameters Address (6 Octets)
+ Address_Type (1 Octet)
Authentication Failed Event
Event Code 0x0011
Controller Index: <controller id>
Event Parameters Address (6 Octets)
+ Address_Type (1 Octet)
Status (1 Octet)
Event Code 0x0012
Controller Index <controller id>
Event Parameters Address (6 Octets)
- Type (1 Octet)
+ Address_Type (1 Octet)
RSSI (1 Octet)
Flags (4 Octets)
EIR_Data_Length (2 Octets)
EIR_Data (0-65535 Octets)
- Possible values for the Type parameter:
+ Possible values for the Address_Type parameter:
0 BR/EDR
1 LE Public
2 LE Random
Discovering Event
=================
-Event Code 0x00013
+Event Code 0x0013
Controller Index <controller id>
Event Parameters Discovering (1 Octet)
Device Blocked Event
====================
-Event Code 0x00014
+Event Code 0x0014
Controller Index <controller id>
Event Parameters Address (6 Octets)
+ Address_Type (1 Octet)
Device Unblocked Event
======================
-Event Code 0x00015
+Event Code 0x0015
+Controller Index <controller id>
+Event Parameters Address (6 Octets)
+ Address_Type (1 Octet)
+
+
+Device Unpaired
+===============
+
+Event Code 0x0016
Controller Index <controller id>
Event Parameters Address (6 Octets)
+ Address_Type (1 Octet)