From 64ad8d47e8112f9d27c62e123c584b49bbc0caaa Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 27 Aug 2013 19:31:15 -0700 Subject: [PATCH] monitor: Add structures for inquiry scan type commands --- monitor/bt.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/monitor/bt.h b/monitor/bt.h index 09f618336..1af04a8c1 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -687,6 +687,17 @@ struct bt_hci_cmd_set_afh_host_classification { uint8_t map[10]; } __attribute__ ((packed)); +#define BT_HCI_CMD_READ_INQUIRY_SCAN_TYPE 0x0c42 +struct bt_hci_rsp_read_inquiry_scan_type { + uint8_t status; + uint8_t type; +} __attribute__ ((packed)); + +#define BT_HCI_CMD_WRITE_INQUIRY_SCAN_TYPE 0x0c43 +struct bt_hci_cmd_write_inquiry_scan_type { + uint8_t type; +} __attribute__ ((packed)); + #define BT_HCI_CMD_READ_INQUIRY_MODE 0x0c44 struct bt_hci_rsp_read_inquiry_mode { uint8_t status; -- 2.47.3