From f1ff4abfe63c88dcd599fcea2743c3739cc32661 Mon Sep 17 00:00:00 2001 From: Vipul Rahane Date: Tue, 12 Jul 2016 16:22:39 -0700 Subject: MYNEWT-266 Newtmgr over BLE - Enable remote configuration, remote soft reset, firmware upgrade - Adding a seperate package for BLE newtmgr transport - Adding BLE_HOST feature - Moving logs constants from source file to header file; Were causing issues while testing - Increasing imgmgr max msg size to 400; Can be increased further when we support higher MTUs with BLE - Increasing stack size and number of mbufs for bleprph - Creating a separate library for newtmgr over BLE --- net/nimble/host/pkg.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/nimble/host/pkg.yml') diff --git a/net/nimble/host/pkg.yml b/net/nimble/host/pkg.yml index f597f344..0edea58e 100644 --- a/net/nimble/host/pkg.yml +++ b/net/nimble/host/pkg.yml @@ -42,6 +42,9 @@ pkg.deps: pkg.req_apis: - console +pkg.features: + - BLE_HOST + # Satisfy capability dependencies for the self-contained test executable. pkg.deps.SELFTEST: libs/console/stub pkg.cflags.SELFTEST: -- cgit v1.2.3 From 2444d8f66060385b3b3dce29b1b7ff09cacdf9eb Mon Sep 17 00:00:00 2001 From: Christopher Collins Date: Wed, 3 Aug 2016 19:44:39 -0700 Subject: BLE Host - Use HCI transport API Prior to this change, the host assumed it was running with a combined host-controller setup. Now it uses the available HCI transport instead. --- net/nimble/host/pkg.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'net/nimble/host/pkg.yml') diff --git a/net/nimble/host/pkg.yml b/net/nimble/host/pkg.yml index 0edea58e..a45ba1e5 100644 --- a/net/nimble/host/pkg.yml +++ b/net/nimble/host/pkg.yml @@ -36,20 +36,23 @@ pkg.deps: # Tinycrypt is only required when secure connections (NIMBPLE_OPT_SM_SC) # is enabled. It always gets built as a dependency, but not is not # included by the linker unless SC is enabled. XXX: We should not build - # this library if it is not requiresd. + # this library if it is not required. - libs/tinycrypt pkg.req_apis: + - ble_transport - console pkg.features: - BLE_HOST # Satisfy capability dependencies for the self-contained test executable. -pkg.deps.SELFTEST: libs/console/stub +pkg.deps.SELFTEST: + - libs/console/stub + - net/nimble/transport/ram + pkg.cflags.SELFTEST: - - -DPHONY_TRANSPORT=1 - - -DPHONY_HCI_ACKS=1 - - -DNIMBLE_OPT_SM=1 - - -DNIMBLE_OPT_SM_SC=1 + - "-DPHONY_HCI_ACKS=1" + - "-DNIMBLE_OPT_SM=1" + - "-DNIMBLE_OPT_SM_SC=1" pkg.cflags.TEST: -DBLE_HS_DEBUG -- cgit v1.2.3