From e49d496a74855519b57e4dcc02245639e363b28c Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 7 Nov 2016 22:10:03 +0100 Subject: [PATCH] hci_cmds: add hci_flush --- src/hci_cmd.c | 7 +++++++ src/hci_cmd.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/hci_cmd.c b/src/hci_cmd.c index f7985120e..b6666cdf1 100644 --- a/src/hci_cmd.c +++ b/src/hci_cmd.c @@ -554,6 +554,13 @@ const hci_cmd_t hci_reset = { OPCODE(OGF_CONTROLLER_BASEBAND, 0x03), "" }; +/** + * @param handle + */ +const hci_cmd_t hci_flush = { +OPCODE(OGF_CONTROLLER_BASEBAND, 0x09), "H" +}; + /** * @param bd_addr * @param delete_all_flags diff --git a/src/hci_cmd.h b/src/hci_cmd.h index b3e2f8c8c..07dd79d3c 100644 --- a/src/hci_cmd.h +++ b/src/hci_cmd.h @@ -96,6 +96,7 @@ extern const hci_cmd_t hci_delete_stored_link_key; extern const hci_cmd_t hci_enhanced_setup_synchronous_connection; extern const hci_cmd_t hci_enhanced_accept_synchronous_connection; extern const hci_cmd_t hci_disconnect; +extern const hci_cmd_t hci_flush; extern const hci_cmd_t hci_host_buffer_size; extern const hci_cmd_t hci_inquiry; extern const hci_cmd_t hci_io_capability_request_reply;