You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2019/06/27 14:52:26 UTC
[mynewt-nimble] branch master updated: apps/blehci: Allow HCI
transport to be configured
This is an automated email from the ASF dual-hosted git repository.
andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new 3396ab7 apps/blehci: Allow HCI transport to be configured
3396ab7 is described below
commit 3396ab78028b1c4437f13b0d11bcfbf9b8e28772
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Thu Jun 27 12:35:50 2019 +0200
apps/blehci: Allow HCI transport to be configured
Even though we always use blehci over UART, it may be useful to have
transport configurable in case someone develops an USB transport or
something else...
---
apps/blehci/pkg.yml | 7 +++++--
apps/blehci/syscfg.yml | 2 ++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/apps/blehci/pkg.yml b/apps/blehci/pkg.yml
index 654b0f4..06e6189 100644
--- a/apps/blehci/pkg.yml
+++ b/apps/blehci/pkg.yml
@@ -17,7 +17,7 @@
#
pkg.name: apps/blehci
pkg.type: app
-pkg.description: BLE controller application exposing HCI over UART
+pkg.description: BLE controller application exposing HCI over external interface
pkg.author: "Johan Hedberg <jo...@intel.com>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -28,4 +28,7 @@ pkg.deps:
- "@apache-mynewt-core/sys/stats/full"
- "@apache-mynewt-core/kernel/os"
- nimble/controller
- - nimble/transport/uart
+ - nimble/transport
+
+pkg.req_apis:
+ - ble_transport
diff --git a/apps/blehci/syscfg.yml b/apps/blehci/syscfg.yml
index ec3dad8..48a0200 100644
--- a/apps/blehci/syscfg.yml
+++ b/apps/blehci/syscfg.yml
@@ -19,3 +19,5 @@
syscfg.vals:
# Default task settings
OS_MAIN_STACK_SIZE: 64
+ # Use UART transport by default
+ BLE_HCI_TRANSPORT: uart