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:
ba83a3e
)
monitor: Add structures for HCI read clock command
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 27 Aug 2013 21:12:25 +0000
(14:12 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 27 Aug 2013 21:12:25 +0000
(14:12 -0700)
monitor/bt.h
patch
|
blob
|
history
diff --git
a/monitor/bt.h
b/monitor/bt.h
index
c2caedf
..
78e2a4d
100644
(file)
--- a/
monitor/bt.h
+++ b/
monitor/bt.h
@@
-844,6
+844,18
@@
struct bt_hci_rsp_read_data_block_size {
uint16_t num_blocks;
} __attribute__ ((packed));
+#define BT_HCI_CMD_READ_CLOCK 0x1407
+struct bt_hci_cmd_read_clock {
+ uint16_t handle;
+ uint8_t type;
+} __attribute__ ((packed));
+struct bt_hci_rsp_read_clock {
+ uint8_t status;
+ uint16_t handle;
+ uint32_t clock;
+ uint16_t accuracy;
+} __attribute__ ((packed));
+
#define BT_HCI_CMD_READ_ENCRYPT_KEY_SIZE 0x1408
struct bt_hci_cmd_read_encrypt_key_size {
uint16_t handle;