From ea0fa83ebfcd24d6e618a022bb03297d8f1e7870 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 2 Oct 2013 06:12:06 -0700 Subject: [PATCH] lib: Add define for mgmt_set_static_address --- lib/mgmt.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/mgmt.h b/lib/mgmt.h index c2d466dc5..7595f0431 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -324,6 +324,11 @@ struct mgmt_cp_set_device_id { #define MGMT_OP_SET_BREDR 0x002A +#define MGMT_OP_SET_STATIC_ADDRESS 0x002B +struct mgmt_cp_set_static_address { + bdaddr_t bdaddr; +} __packed; + #define MGMT_EV_CMD_COMPLETE 0x0001 struct mgmt_ev_cmd_complete { uint16_t opcode; @@ -504,6 +509,7 @@ static const char *mgmt_op[] = { "Set Device ID", "Set Advertising", "Set BR/EDR", + "Set Static Address", }; static const char *mgmt_ev[] = { -- 2.11.0