Diff between 0048931230a3b88af728c09237307fa0fdfbf079 and 89bbe0aed8df436f49ca3adf05379fcf1e6e951e

Changed Files

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

Full Patch

diff --git a/lib/mgmt.h b/lib/mgmt.h
index 7595f04..a896e52 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -329,6 +329,12 @@ struct mgmt_cp_set_static_address {
 	bdaddr_t bdaddr;
 } __packed;
 
+#define MGMT_OP_SET_SCAN_PARAMS		0x002C
+struct mgmt_cp_set_scan_params {
+	uint16_t interval;
+	uint16_t window;
+} __packed;
+
 #define MGMT_EV_CMD_COMPLETE		0x0001
 struct mgmt_ev_cmd_complete {
 	uint16_t opcode;
@@ -510,6 +516,7 @@ static const char *mgmt_op[] = {
 	"Set Advertising",
 	"Set BR/EDR",
 	"Set Static Address",
+	"Set Scan Parameters",
 };
 
 static const char *mgmt_ev[] = {