From 3d6bfda185a6574c19652a3ab0ca998abdfaa85f Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 15 Mar 2024 09:01:19 +0100 Subject: [PATCH] nimble/host: Fix EATT restrictions in syscfg EATT requires Enhanced COC and number of available channels should be at least that of supported EATT channels. --- nimble/host/syscfg.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/nimble/host/syscfg.yml b/nimble/host/syscfg.yml index 2848b648d..69db7dfd3 100644 --- a/nimble/host/syscfg.yml +++ b/nimble/host/syscfg.yml @@ -310,18 +310,22 @@ syscfg.defs: due to memory exhaustion. (0/1) Units are milliseconds. (0/1) value: 1000 - # Supported server ATT commands. (0/1) + # Enhanced ATT bearer options BLE_EATT_CHAN_NUM: description: > - Number of CoC channels allocated to EATT + Maximum number of supported EATT channels (in total). If set to 0 + EATT support it disabled. value: 0 - restrictions: BLE_GATT_NOTIFY_MULTIPLE - + restrictions: + - BLE_GATT_NOTIFY_MULTIPLE + - BLE_L2CAP_ENHANCED_COC + - 'BLE_L2CAP_COC_MAX_NUM >= BLE_EATT_CHAN_NUM' BLE_EATT_MTU: description: > MTU used for EATT channels. value: 128 + # Supported server ATT commands. (0/1) BLE_ATT_SVR_FIND_INFO: description: > Enables processing of incoming Find Information Request ATT