summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-02 06:12:06 -0700
committerMarcel Holtmann <marcel@holtmann.org>2013-10-02 06:15:52 -0700
commitea0fa83ebfcd24d6e618a022bb03297d8f1e7870 (patch)
treea721574dc2523e3c7018a80759ea111d46b07b51 /lib
parentf49000fe38f18ce0adb662309dfa58496b8296cb (diff)
lib: Add define for mgmt_set_static_address
Diffstat (limited to 'lib')
-rw-r--r--lib/mgmt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index c2d466dc5..7595f0431 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -324,6 +324,11 @@ struct mgmt_cp_set_device_id {
#define MGMT_OP_SET_BREDR 0x002A
+#define MGMT_OP_SET_STATIC_ADDRESS 0x002B
+struct mgmt_cp_set_static_address {
+ bdaddr_t bdaddr;
+} __packed;
+
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
uint16_t opcode;
@@ -504,6 +509,7 @@ static const char *mgmt_op[] = {
"Set Device ID",
"Set Advertising",
"Set BR/EDR",
+ "Set Static Address",
};
static const char *mgmt_ev[] = {