From 7461fb98e3bf5169a3d4b459cc68dabb13e0fe43 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 17 Feb 2012 13:41:14 +0200 Subject: [PATCH] mgmt-api: Add Address_Type to all messages with an Address Strictly speaking the address type isn't needed in all messages (e.g. those specific to BR/EDR or pre-2.1) but for consistency it's cleaner to have it everywhere. The only exception is the read_controller_info reply where it really doesn't make sense to have it. --- doc/mgmt-api.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index 495186f00..e62721de1 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -248,6 +248,7 @@ Load Link Keys Command Key_Count (2 Octets) Key1 { Address (6 Octets) + Address_Type (1 Octet) Key_Type (1 Octet) Value (16 Octets) PIN_Length (1 Octet) @@ -316,6 +317,7 @@ PIN Code Reply Command Controller Index: Command Parameters: Return Parameters: Address (6 Octets) + Address_Type (1 Octet) PIN_Length (1 Octet) PIN_Code (16 Octets) @@ -327,6 +329,7 @@ PIN Code Negative Reply Command Controller Index: Command Parameters: Return Parameters: Address (6 Octets) + Address_Type (1 Octet) Set IO Capability Command @@ -504,8 +507,10 @@ Confirm Name Command Command Code: 0x0025 Controller Index: Command Parameters: Address (6 Octets) + Address_Type (1 Octet) Name_Known (1 Octet) Return Parameters: Address (6 Octets) + Address_Type (1 Octet) Status (1 Octet) This command is only valid during device discovery and is @@ -607,6 +612,7 @@ Event Code 0x0009 Controller Index: Event Parameters Key { Address (6 Octets) + Address_Type (1 Octet) Key_Type (1 Octet) Value (16 Octets) PIN_Length (1 Octet) @@ -683,6 +689,7 @@ PIN Code Request Event Event Code 0x000E Controller Index: Event Parameters Address (6 Octets) + Address_Type (1 Octet) Secure (1 Octet) Secure: 0x01 secure PIN code required -- 2.47.3