Diff between 1bd220070a2a5913d7bc8da4d75c65b84499d880 and 946168628404661c6ec063099f150929d3b494c1

Changed Files

File Additions Deletions Status
lib/mgmt.h +11 -0 modified

Full Patch

diff --git a/lib/mgmt.h b/lib/mgmt.h
index 21cca2a..a2ea92f 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -97,6 +97,7 @@ struct mgmt_rp_read_index_list {
 #define MGMT_SETTING_SECURE_CONN	0x00000800
 #define MGMT_SETTING_DEBUG_KEYS		0x00001000
 #define MGMT_SETTING_PRIVACY		0x00002000
+#define MGMT_SETTING_CONFIGURATION	0x00004000
 
 #define MGMT_OP_READ_INFO		0x0004
 struct mgmt_rp_read_info {
@@ -424,6 +425,15 @@ struct mgmt_rp_read_unconf_index_list {
 	uint16_t index[0];
 } __packed;
 
+#define MGMT_OPTION_PUBLIC_ADDRESS	0x00000001
+
+#define MGMT_OP_READ_CONFIG_INFO	0x0037
+struct mgmt_rp_read_config_info {
+	uint16_t manufacturer;
+	uint32_t supported_options;
+	uint32_t missing_options;
+} __packed;
+
 #define MGMT_EV_CMD_COMPLETE		0x0001
 struct mgmt_ev_cmd_complete {
 	uint16_t opcode;
@@ -661,6 +671,7 @@ static const char *mgmt_op[] = {
 	"Remove Device",
 	"Load Connection Parameters",
 	"Read Unconfigured Index List",
+	"Read Controller Configuration Information",
 };
 
 static const char *mgmt_ev[] = {