From 452c60bea7d009ae818d0cff6f0e78e7a7f8efbc Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Tue, 4 Jun 2019 14:45:45 +0100 Subject: [PATCH] Cordio: Fix default COC parameters. The stack doesn't cope with zero COC client or channel on IAR. --- features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json b/features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json index 0b28aca14a..165b63f15e 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/mbed_lib.json @@ -24,12 +24,12 @@ }, "max-l2cap-channels": { "help": "Maximum number of connection oriented channels", - "value": 0, + "value": 1, "macro_name": "L2C_COC_CHAN_MAX" }, "max-l2cap-clients": { "help": "Maximum number of connection oriented channel registered clients", - "value": 0, + "value": 1, "macro_name": "L2C_COC_REG_MAX" }, "max-att-writes": {