From 653476ff785df4aebd2e85082c7d1babe7b64ec0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 4 Jul 2014 00:47:28 +0200 Subject: [PATCH] lib: Add definitions for set public address command --- lib/mgmt.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/mgmt.h b/lib/mgmt.h index a2ea92fc6..b97d1092c 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -434,6 +434,11 @@ struct mgmt_rp_read_config_info { uint32_t missing_options; } __packed; +#define MGMT_OP_SET_PUBLIC_ADDRESS 0x0038 +struct mgmt_cp_set_public_address { + bdaddr_t bdaddr; +} __packed; + #define MGMT_EV_CMD_COMPLETE 0x0001 struct mgmt_ev_cmd_complete { uint16_t opcode; @@ -672,6 +677,7 @@ static const char *mgmt_op[] = { "Load Connection Parameters", "Read Unconfigured Index List", "Read Controller Configuration Information", + "Set Public Address", }; static const char *mgmt_ev[] = { -- 2.47.3