summaryrefslogtreecommitdiff
path: root/emulator/hciemu.h
diff options
context:
space:
mode:
authorMichaƂ Narajowski <michal.narajowski@codecoup.pl>2016-09-02 11:25:50 +0200
committerSzymon Janc <szymon.janc@codecoup.pl>2016-09-07 22:35:58 +0200
commit968fdffb92c2edeac4b124db92c87e5e2bbe2598 (patch)
tree31704a6e3e98b8ec3e1b3a356623e723c68cd861 /emulator/hciemu.h
parent46fd3520d89e4b56658bca8ea8cfc1e8e2021db0 (diff)
downloadbluez-968fdffb92c2edeac4b124db92c87e5e2bbe2598.tar.gz
tools/mgmt-tester: Test read extended controller info
This patch tests read extended controller info command added in kernel. It also adds support for sending multiple mgmt commands on setup and expecting hci command on setup.
Diffstat (limited to 'emulator/hciemu.h')
-rw-r--r--emulator/hciemu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulator/hciemu.h b/emulator/hciemu.h
index c5578d131..783f99cf1 100644
--- a/emulator/hciemu.h
+++ b/emulator/hciemu.h
@@ -66,6 +66,8 @@ typedef bool (*hciemu_hook_func_t)(const void *data, uint16_t len,
bool hciemu_add_master_post_command_hook(struct hciemu *hciemu,
hciemu_command_func_t function, void *user_data);
+bool hciemu_clear_master_post_command_hooks(struct hciemu *hciemu);
+
int hciemu_add_hook(struct hciemu *hciemu, enum hciemu_hook_type type,
uint16_t opcode, hciemu_hook_func_t function,
void *user_data);