From 946168628404661c6ec063099f150929d3b494c1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 3 Jul 2014 23:52:38 +0200 Subject: [PATCH] lib: Add definitions for reading controller configuration info --- lib/mgmt.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/mgmt.h b/lib/mgmt.h index 21cca2a36..a2ea92fc6 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[] = { -- 2.47.3