From 9dccef06228675d4435ba9e9fc4b172eb8974da1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 27 Aug 2013 14:12:25 -0700 Subject: [PATCH] monitor: Add structures for HCI read clock command --- monitor/bt.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/monitor/bt.h b/monitor/bt.h index c2caedf72..78e2a4d40 100644 --- 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; -- 2.47.3