summaryrefslogtreecommitdiff
path: root/include/console_channel.inc
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@chromium.org>2015-01-27 12:17:16 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-08-08 01:48:45 -0700
commit4820a97ad5525aa99b1810a38ed0104e20914e56 (patch)
treee895b6714273289e6bf8cb98fe497ef0608aa27e /include/console_channel.inc
parent9ee1b4a767daaf23b278c9f33b0fe30bf9d91adf (diff)
downloadchrome-ec-4820a97ad5525aa99b1810a38ed0104e20914e56.tar.gz
btle: Add the HCI layer
Add a case statement to handle HCI commands. Add a test commands. Try to match the hcitool syntax, so the same commands can be executed on a Linux host. Added lcmd (long cmd) to pass more parameters in fewer arguments BUG=None BRANCH=None TEST=Use HCI commands to configure an advertiser and listen for it using `hcitool lescan` on the host. Change-Id: Ie28038847c9549eb1c27a605aa0fbad5efd3b2c7 Signed-off-by: Myles Watson <mylesgw@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/362145 Commit-Ready: Dan Shi <dshi@google.com> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/console_channel.inc')
-rw-r--r--include/console_channel.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc
index ab733bd49b..ba48a31563 100644
--- a/include/console_channel.inc
+++ b/include/console_channel.inc
@@ -12,6 +12,9 @@ CONSOLE_CHANNEL(CC_BLUETOOTH_LE, "bluetooth_le")
#ifdef CONFIG_BLUETOOTH_LL_DEBUG
CONSOLE_CHANNEL(CC_BLUETOOTH_LL, "bluetooth_ll")
#endif
+#ifdef CONFIG_BLUETOOTH_HCI_DEBUG
+CONSOLE_CHANNEL(CC_BLUETOOTH_HCI,"bluetooth_hci")
+#endif
#endif /* CONFIG_BLUETOOTH_LE */
#ifdef CONFIG_EXTENSION_COMMAND
CONSOLE_CHANNEL(CC_EXTENSION, "extension")