summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-17 14:30:31 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-17 14:30:31 +0200
commitdd84242d273a4f19f56c7e54a4c0388ed459e7c1 (patch)
tree140cfe4c1f672c127b29a207569b6779255e01c7 /lib
parent7461fb98e3bf5169a3d4b459cc68dabb13e0fe43 (diff)
downloadbluez-dd84242d273a4f19f56c7e54a4c0388ed459e7c1.tar.gz
mgmt: Update implementation to match latest API
This patch adds an address type parameter to all places where the latest API expects there to be one.
Diffstat (limited to 'lib')
-rw-r--r--lib/mgmt.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index 37e63c8ed..79db878e5 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -141,7 +141,7 @@ struct mgmt_cp_remove_uuid {
} __packed;
struct mgmt_link_key_info {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
uint8_t type;
uint8_t val[16];
uint8_t pin_len;
@@ -187,14 +187,14 @@ struct mgmt_rp_get_connections {
#define MGMT_OP_PIN_CODE_REPLY 0x0016
struct mgmt_cp_pin_code_reply {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
uint8_t pin_len;
uint8_t pin_code[16];
} __packed;
#define MGMT_OP_PIN_CODE_NEG_REPLY 0x0017
struct mgmt_cp_pin_code_neg_reply {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
} __packed;
#define MGMT_OP_SET_IO_CAPABILITY 0x0018
@@ -277,11 +277,11 @@ struct mgmt_cp_start_discovery {
#define MGMT_OP_CONFIRM_NAME 0x0025
struct mgmt_cp_confirm_name {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
uint8_t name_known;
} __packed;
struct mgmt_rp_confirm_name {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
uint8_t status;
} __packed;
@@ -358,7 +358,7 @@ struct mgmt_ev_connect_failed {
#define MGMT_EV_PIN_CODE_REQUEST 0x000E
struct mgmt_ev_pin_code_request {
- bdaddr_t bdaddr;
+ struct mgmt_addr_info addr;
uint8_t secure;
} __packed;