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/07/24 22:32:24 UTC

[mynewt-nimble] branch master updated: apps/blecent: Remove explicit dependency to controller

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 e0f88eb  apps/blecent: Remove explicit dependency to controller
e0f88eb is described below

commit e0f88eb0fffe962d656175ea2fa070a4922d84ea
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Wed Jul 24 12:13:16 2019 +0200

    apps/blecent: Remove explicit dependency to controller
    
    blecent should work with any transport, it does not need explicit
    dependency to controller and RAM transport. nimble/transport meta
    package will select proper transport and add controller dependency
    automatically if needed.
---
 apps/blecent/pkg.yml    | 3 +--
 apps/blecent/src/main.c | 4 ----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/apps/blecent/pkg.yml b/apps/blecent/pkg.yml
index 93f57e3..dd57439 100644
--- a/apps/blecent/pkg.yml
+++ b/apps/blecent/pkg.yml
@@ -28,10 +28,9 @@ pkg.deps:
     - "@apache-mynewt-core/sys/log/full"
     - "@apache-mynewt-core/sys/log/modlog"
     - "@apache-mynewt-core/sys/stats/full"
-    - nimble/controller
     - nimble/host
     - nimble/host/util
     - nimble/host/services/gap
     - nimble/host/services/gatt
     - nimble/host/store/ram
-    - nimble/transport/ram
+    - nimble/transport
diff --git a/apps/blecent/src/main.c b/apps/blecent/src/main.c
index f14da34..d365cda 100644
--- a/apps/blecent/src/main.c
+++ b/apps/blecent/src/main.c
@@ -24,13 +24,9 @@
 
 /* BLE */
 #include "nimble/ble.h"
-#include "controller/ble_ll.h"
 #include "host/ble_hs.h"
 #include "host/util/util.h"
 
-/* RAM HCI transport. */
-#include "transport/ram/ble_hci_ram.h"
-
 /* Mandatory services. */
 #include "services/gap/ble_svc_gap.h"
 #include "services/gatt/ble_svc_gatt.h"