From 7cd21895dfe9de92b5393123b75461b1ce3e3d16 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 22 Oct 2018 14:02:20 +0200 Subject: [PATCH] hci_cmd: add hci_exit_sniff_mode --- 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 b72420d4c..92e95c824 100644 --- a/src/hci_cmd.c +++ b/src/hci_cmd.c @@ -504,6 +504,13 @@ const hci_cmd_t hci_sniff_mode = { OPCODE(OGF_LINK_POLICY, 0x03), "H2222" }; +/** + * @param handle + */ +const hci_cmd_t hci_exit_sniff_mode = { +OPCODE(OGF_LINK_POLICY, 0x04), "H" +}; + /** * @param handle * @param flags diff --git a/src/hci_cmd.h b/src/hci_cmd.h index 6233446a4..1323697ca 100644 --- a/src/hci_cmd.h +++ b/src/hci_cmd.h @@ -97,6 +97,7 @@ extern const hci_cmd_t hci_disconnect; extern const hci_cmd_t hci_enable_device_under_test_mode; extern const hci_cmd_t hci_enhanced_accept_synchronous_connection; extern const hci_cmd_t hci_enhanced_setup_synchronous_connection; +extern const hci_cmd_t hci_exit_sniff_mode; extern const hci_cmd_t hci_flush; extern const hci_cmd_t hci_host_buffer_size; extern const hci_cmd_t hci_inquiry;