diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-11 14:48:58 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-11 14:48:58 -0700 |
commit | 89bbe0aed8df436f49ca3adf05379fcf1e6e951e (patch) | |
tree | 1eef4e6a9099f75b1bfcb5d5f84632e89446d4b6 /lib | |
parent | 0048931230a3b88af728c09237307fa0fdfbf079 (diff) |
lib: Add definitions for Set Scan Parameters command
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mgmt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h index 7595f0431..a896e5230 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[] = { |