Diff between ec0b2402b76715137cc90449a7ad4a545db9f4e5 and 653476ff785df4aebd2e85082c7d1babe7b64ec0

Changed Files

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

Full Patch

diff --git a/lib/mgmt.h b/lib/mgmt.h
index a2ea92f..b97d109 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -434,6 +434,11 @@ struct mgmt_rp_read_config_info {
 	uint32_t missing_options;
 } __packed;
 
+#define MGMT_OP_SET_PUBLIC_ADDRESS	0x0038
+struct mgmt_cp_set_public_address {
+	bdaddr_t bdaddr;
+} __packed;
+
 #define MGMT_EV_CMD_COMPLETE		0x0001
 struct mgmt_ev_cmd_complete {
 	uint16_t opcode;
@@ -672,6 +677,7 @@ static const char *mgmt_op[] = {
 	"Load Connection Parameters",
 	"Read Unconfigured Index List",
 	"Read Controller Configuration Information",
+	"Set Public Address",
 };
 
 static const char *mgmt_ev[] = {