From 0810868971b361b65443a2133db2b384a75aec61 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 27 Aug 2013 16:42:37 -0700 Subject: [PATCH] monitor: Add structures for failed contact counters --- monitor/bt.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/monitor/bt.h b/monitor/bt.h index c9a2d7966..30ea59c58 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -844,6 +844,25 @@ struct bt_hci_rsp_read_data_block_size { uint16_t num_blocks; } __attribute__ ((packed)); +#define BT_HCI_CMD_READ_FAILED_CONTACT_COUNTER 0x1401 +struct bt_hci_cmd_read_failed_contact_counter { + uint16_t handle; +} __attribute__ ((packed)); +struct bt_hci_rsp_read_failed_contact_counter { + uint8_t status; + uint16_t handle; + uint16_t counter; +} __attribute__ ((packed)); + +#define BT_HCI_CMD_RESET_FAILED_CONTACT_COUNTER 0x1402 +struct bt_hci_cmd_reset_failed_contact_counter { + uint16_t handle; +} __attribute__ ((packed)); +struct bt_hci_rsp_reset_failed_contact_counter { + uint8_t status; + uint16_t handle; +} __attribute__ ((packed)); + #define BT_HCI_CMD_READ_LINK_QUALITY 0x1403 struct bt_hci_cmd_read_link_quality { uint16_t handle; -- 2.47.3