summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-09-24 15:22:34 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-09-25 13:51:11 +0300
commit8c77159a72530c13edbe0de1ea4ad84924f3bc5e (patch)
treea88beb2aaf4d4b926f56d644dac6b8a6d3d5147b /lib
parentb06eba4185a1992c5af3ba81c163f53725576b9b (diff)
mgmt: Add defines for new advertising setting
Diffstat (limited to 'lib')
-rw-r--r--lib/mgmt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index d0b12212f..ef2a368da 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -93,6 +93,7 @@ struct mgmt_rp_read_index_list {
#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 {
@@ -319,6 +320,8 @@ struct mgmt_cp_set_device_id {
uint16_t version;
} __packed;
+#define MGMT_OP_SET_ADVERTISING 0x0029
+
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
uint16_t opcode;
@@ -497,6 +500,7 @@ static const char *mgmt_op[] = {
"Block Device",
"Unblock Device",
"Set Device ID",
+ "Set Advertising",
};
static const char *mgmt_ev[] = {