From 11cb7f0119d997a618e129d1e841181a54bd923b Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Fri, 31 May 2019 16:11:08 +0100 Subject: [PATCH] BLE - tune Cordio LL default parameters to reduce the memory required. --- .../FEATURE_BLE/targets/TARGET_CORDIO_LL/mbed_lib.json | 8 ++++---- .../TARGET_MCU_NRF52840/mbed_lib.json | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO_LL/mbed_lib.json b/features/FEATURE_BLE/targets/TARGET_CORDIO_LL/mbed_lib.json index 50d6c4b1f7..f132dc33f9 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO_LL/mbed_lib.json +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO_LL/mbed_lib.json @@ -3,11 +3,11 @@ "config": { "max-advertising-sets": { "help": "Maximum number of advertising sets.", - "value": 4 + "value": 3 }, "max-advertising-reports": { "help": "Maximum number of pending legacy or extended advertising reports.", - "value": 8 + "value": 4 }, "default-extended-advertising-fragmentation-size": { "help": "Default extended advertising data fragmentation size.", @@ -23,7 +23,7 @@ }, "rx-buffers": { "help": "Default number of receive buffers.", - "value": 8 + "value": 4 }, "phy-coded-support": { "help": "Coded PHY supported.", @@ -39,7 +39,7 @@ }, "tx-buffers": { "help": "Default number of send buffers", - "value": 8 + "value": 4 }, "handle-vendor-specific-hci-commands": { "help": "Handle VS HCI commands. Valid values are 0 (ignore) and 1 (handle).", diff --git a/features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_MCU_NRF52840/mbed_lib.json b/features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_MCU_NRF52840/mbed_lib.json index df8fdfe839..23b0bbba6d 100644 --- a/features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_MCU_NRF52840/mbed_lib.json +++ b/features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NORDIC_CORDIO/TARGET_MCU_NRF52840/mbed_lib.json @@ -7,15 +7,15 @@ }, "extended-advertising-size": { "help": "Maximum extended advertising data (and scan data response) size", - "value": 1650 + "value": 512 }, "max-acl-size": { "help": "Maximum ACL buffer size", - "value": 512 + "value": 256 }, "tx-buffers": { "help": "Default number of send buffers", - "value": 16 + "value": 4 }, "cryptocell310-acceleration": { "help": "Should the link layer use the Crypto Cell 310 to offload encryption.",