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:
f095b87
)
lib: Add missing structure for accept physical link command
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 8 Oct 2013 13:08:56 +0000
(06:08 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 8 Oct 2013 13:08:56 +0000
(06:08 -0700)
lib/hci.h
patch
|
blob
|
history
diff --git
a/lib/hci.h
b/lib/hci.h
index
76cfb9c
..
0c94829
100644
(file)
--- a/
lib/hci.h
+++ b/
lib/hci.h
@@
-560,6
+560,13
@@
typedef struct {
#define CREATE_PHYSICAL_LINK_CP_SIZE 35
#define OCF_ACCEPT_PHYSICAL_LINK 0x0036
+typedef struct {
+ uint8_t handle;
+ uint8_t key_length;
+ uint8_t key_type;
+ uint8_t key[32];
+} __attribute__ ((packed)) accept_physical_link_cp;
+#define ACCEPT_PHYSICAL_LINK_CP_SIZE 35
#define OCF_DISCONNECT_PHYSICAL_LINK 0x0037
typedef struct {