summaryrefslogtreecommitdiff
path: root/board/hadoken
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 /board/hadoken
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 'board/hadoken')
-rw-r--r--board/hadoken/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/hadoken/board.h b/board/hadoken/board.h
index ddbe81c4d2..f844013f15 100644
--- a/board/hadoken/board.h
+++ b/board/hadoken/board.h
@@ -29,6 +29,7 @@
#define CONFIG_BLUETOOTH_LE_STACK
#define CONFIG_BLUETOOTH_LE_RADIO_TEST
#define CONFIG_BLUETOOTH_LL_DEBUG
+#define CONFIG_BLUETOOTH_HCI_DEBUG
#include "gpio_signal.h"