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:
a6ef9f7
)
mgmt: Add mgmt_rp_read_commands struct definition
author
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 9 Feb 2012 16:24:26 +0000
(18:24 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 9 Feb 2012 16:24:26 +0000
(18:24 +0200)
lib/mgmt.h
patch
|
blob
|
history
diff --git
a/lib/mgmt.h
b/lib/mgmt.h
index
22912d4
..
3d40f3b
100644
(file)
--- a/
lib/mgmt.h
+++ b/
lib/mgmt.h
@@
-50,9
+50,12
@@
struct mgmt_rp_read_version {
uint16_t revision;
} __packed;
-#define MGMT_OP_READ_FEATURES 0x0002
-struct mgmt_rp_read_features {
- uint8_t features[8];
+#define MGMT_OP_READ_COMMANDS 0x0002
+struct mgmt_rp_read_commands {
+ uint16_t num_commands;
+ uint16_t commands[0];
+ uint16_t num_events;
+ uint16_t events[0];
} __packed;
#define MGMT_OP_READ_INDEX_LIST 0x0003