From b04e8f186b21a534adbc4c2ff63cb35f9ed103f8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 29 Jun 2014 15:27:38 +0200 Subject: [PATCH] lib: Add defines for Add Device and Remove Device mgmt commands --- lib/mgmt.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/mgmt.h b/lib/mgmt.h index 6063f6fc3..a8aacd7d4 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -387,6 +387,17 @@ struct mgmt_rp_get_clock_info { uint16_t accuracy; } __packed; +#define MGMT_OP_ADD_DEVICE 0x0033 +struct mgmt_cp_add_device { + struct mgmt_addr_info addr; + uint8_t action; +} __packed; + +#define MGMT_OP_REMOVE_DEVICE 0x0034 +struct mgmt_cp_remove_device { + struct mgmt_addr_info addr; +} __packed; + #define MGMT_EV_CMD_COMPLETE 0x0001 struct mgmt_ev_cmd_complete { uint16_t opcode; @@ -594,6 +605,8 @@ static const char *mgmt_op[] = { "Load Identity Resolving Keys", "Get Connection Information", "Get Clock Information", + "Add Device", + "Remove Device", }; static const char *mgmt_ev[] = { -- 2.47.3