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.
diff --git a/nimble/host/syscfg.yml b/nimble/host/syscfg.yml
index 2848b64..69db7df 100644
--- a/nimble/host/syscfg.yml
+++ b/nimble/host/syscfg.yml
@@ -310,18 +310,22 @@
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