diff --git a/lib/mgmt.h b/lib/mgmt.h
index d0b1221..ef2a368 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
#define MGMT_SETTING_BREDR 0x00000080
#define MGMT_SETTING_HS 0x00000100
#define MGMT_SETTING_LE 0x00000200
+#define MGMT_SETTING_ADVERTISING 0x00000400
#define MGMT_OP_READ_INFO 0x0004
struct mgmt_rp_read_info {
uint16_t version;
} __packed;
+#define MGMT_OP_SET_ADVERTISING 0x0029
+
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
uint16_t opcode;
"Block Device",
"Unblock Device",
"Set Device ID",
+ "Set Advertising",
};
static const char *mgmt_ev[] = {