OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f49000f
)
lib: Add define for mgmt_set_static_address
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 2 Oct 2013 13:12:06 +0000
(06:12 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 2 Oct 2013 13:15:52 +0000
(06:15 -0700)
lib/mgmt.h
patch
|
blob
|
history
diff --git
a/lib/mgmt.h
b/lib/mgmt.h
index
c2d466d
..
7595f04
100644
(file)
--- 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[] = {